Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Simply remove the element
/**
* Simply remove the element
* @author TheRolf
*/
Element.prototype.remove = function() {
this.parentElement.removeChild(this)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment