Using === instead of isSameNode (not supported in FF)
[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