diff options
Diffstat (limited to 'js/document/mediators/template.js')
-rwxr-xr-x | js/document/mediators/template.js | 2 |
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) { |