diff options
-rwxr-xr-x | js/lib/NJUtils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/NJUtils.js b/js/lib/NJUtils.js index 90aebb84..7dd4c9e8 100755 --- a/js/lib/NJUtils.js +++ b/js/lib/NJUtils.js | |||
@@ -64,7 +64,7 @@ exports.NJUtils = Montage.create(Component, { | |||
64 | value: function(tag, attr, doc) { | 64 | value: function(tag, attr, doc) { |
65 | var _doc, el; | 65 | var _doc, el; |
66 | 66 | ||
67 | _doc = doc ? doc._document : document; | 67 | _doc = doc ? doc.model.views.design.document : document; |
68 | el = _doc.createElement(tag); | 68 | el = _doc.createElement(tag); |
69 | this.decor(el, attr); | 69 | this.decor(el, attr); |
70 | 70 | ||