fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
smartxml: Cache DocumentNode instances in the underlying DOM structure
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentCanvas
/
canvas
/
utils.js
diff --git
a/src/editor/modules/documentCanvas/canvas/utils.js
b/src/editor/modules/documentCanvas/canvas/utils.js
index
1df3f82
..
4e262a0
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/utils.js
+++ b/
src/editor/modules/documentCanvas/canvas/utils.js
@@
-58,7
+58,7
@@
var _getElementForTextNode = function(textNode, withParent) {
return true;
}
});
- return toret;
+ return toret
|| parentElement
;
};
var getElementForDetachedNode = function(node, originalParent) {