aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xjs/document/mediators/template.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/mediators/template.js b/js/document/mediators/template.js
index c3e8033b..fcb3e7b6 100755
--- a/js/document/mediators/template.js
+++ b/js/document/mediators/template.js
@@ -419,7 +419,7 @@ exports.TemplateDocumentMediator = Montage.create(Component, {
419 } 419 }
420 } 420 }
421 // 421 //
422 if (!webgltag && !fileCvsDir) { 422 if (!webgltag && !fileCvsDir && !fileOrgDataSrc) {
423 webgltag = template.file.content.document.createElement('script'); 423 webgltag = template.file.content.document.createElement('script');
424 webgltag.setAttribute('data-ninja-canvas', 'true'); 424 webgltag.setAttribute('data-ninja-canvas', 'true');
425 if (ninjaWrapper) { 425 if (ninjaWrapper) {