Skip to content

Commit 4fa4567

Browse files
authored
Remove 'delete this' from dom.js remove()
1 parent aec19e0 commit 4fa4567

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/dom/dom.js

-1
Original file line numberDiff line numberDiff line change
@@ -2089,7 +2089,6 @@ p5.Element.prototype.remove = function() {
20892089
if (this.elt && this.elt.parentNode) {
20902090
this.elt.parentNode.removeChild(this.elt);
20912091
}
2092-
delete this;
20932092
};
20942093

20952094
/**

0 commit comments

Comments
 (0)