diff options
Diffstat (limited to 'js')
-rwxr-xr-x | js/stage/layout.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/stage/layout.js b/js/stage/layout.js index 6be2df1d..2de67538 100755 --- a/js/stage/layout.js +++ b/js/stage/layout.js | |||
@@ -162,7 +162,7 @@ exports.Layout = Montage.create(Component, { | |||
162 | drawTagOutline: { | 162 | drawTagOutline: { |
163 | value: function (item) { | 163 | value: function (item) { |
164 | 164 | ||
165 | if(!item) return; | 165 | if(!item || (item.nodeType !== 1)) return; |
166 | 166 | ||
167 | // TODO Bind the layoutview mode to the current document | 167 | // TODO Bind the layoutview mode to the current document |
168 | // var mode = this.application.ninja.currentDocument.layoutMode; | 168 | // var mode = this.application.ninja.currentDocument.layoutMode; |