diff options
Diffstat (limited to 'js')
-rwxr-xr-x | js/document/views/design.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/views/design.js b/js/document/views/design.js index 76a36323..b3887fdf 100755 --- a/js/document/views/design.js +++ b/js/document/views/design.js | |||
@@ -333,7 +333,7 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, { | |||
333 | webgldata = null; | 333 | webgldata = null; |
334 | //Checking for tags with webGL data | 334 | //Checking for tags with webGL data |
335 | if (scripttags[w].getAttribute) { | 335 | if (scripttags[w].getAttribute) { |
336 | if (scripttags[w].getAttribute('data-ninja-webgl') !== null) { | 336 | if (scripttags[w].getAttribute('data-ninja-canvas') !== null) { |
337 | //TODO: Add logic to handle more than one data tag | 337 | //TODO: Add logic to handle more than one data tag |
338 | webgldata = JSON.parse((scripttags[w].innerHTML.replace("(", "")).replace(")", "")); | 338 | webgldata = JSON.parse((scripttags[w].innerHTML.replace("(", "")).replace(")", "")); |
339 | } else if (scripttags[w].getAttribute('data-ninja-canvas-json') !== null) { | 339 | } else if (scripttags[w].getAttribute('data-ninja-canvas-json') !== null) { |