X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/e816ae7584e8b11a1e24efb2f743ac744d80485b..69be72cddc103e106ad80640a85f6a03def3f960:/modules/documentCanvas/canvasNode.js diff --git a/modules/documentCanvas/canvasNode.js b/modules/documentCanvas/canvasNode.js index bb1cee7..d0e54ff 100644 --- a/modules/documentCanvas/canvasNode.js +++ b/modules/documentCanvas/canvasNode.js @@ -45,7 +45,7 @@ CanvasNode.prototype.setContent = function(content) { } CanvasNode.prototype.isSame = function(other) { - return (other instanceof CanvasNode) && this.dom.get(0).isSameNode(other.dom.get(0)); + return (other instanceof CanvasNode) && this.dom.get(0) === other.dom.get(0); } CanvasNode.prototype.children = function() {