Building js & css for editor with r.js/lessc via grunt tasks
[fnpeditor.git] / modules / documentCanvas / canvasNode.js
index bb1cee7..d0e54ff 100644 (file)
@@ -45,7 +45,7 @@ CanvasNode.prototype.setContent = function(content) {
 }\r
 \r
 CanvasNode.prototype.isSame = function(other) {\r
-    return (other instanceof CanvasNode) && this.dom.get(0).isSameNode(other.dom.get(0));\r
+    return (other instanceof CanvasNode) && this.dom.get(0) === other.dom.get(0);\r
 }\r
 \r
 CanvasNode.prototype.children = function() {\r