diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/document/templates/app/main.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/document/templates/app/main.js b/js/document/templates/app/main.js index fbd2e138..0cdf718c 100644 --- a/js/document/templates/app/main.js +++ b/js/document/templates/app/main.js | |||
@@ -81,6 +81,7 @@ exports.Main = Montage.create(Component, { | |||
81 | // | 81 | // |
82 | var templateEvent = document.createEvent("CustomEvent"); | 82 | var templateEvent = document.createEvent("CustomEvent"); |
83 | templateEvent.initCustomEvent("mjsTemplateReady", false, true); | 83 | templateEvent.initCustomEvent("mjsTemplateReady", false, true); |
84 | document.body.dispatchEvent(templateEvent); | ||
84 | } | 85 | } |
85 | }, | 86 | }, |
86 | 87 | ||