aboutsummaryrefslogtreecommitdiff
path: root/js/document/document-html.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/document/document-html.js')
-rwxr-xr-xjs/document/document-html.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/document/document-html.js b/js/document/document-html.js
index c60a12a2..377c305a 100755
--- a/js/document/document-html.js
+++ b/js/document/document-html.js
@@ -99,6 +99,8 @@ exports.HtmlDocument = Montage.create(Component, {
99 //Removing observer, only needed on initial load 99 //Removing observer, only needed on initial load
100 this._observer.disconnect(); 100 this._observer.disconnect();
101 this._observer = null; 101 this._observer = null;
102 //Show the view
103 this.model.currentView.show();
102 //Making callback after view is loaded 104 //Making callback after view is loaded
103 this.loaded.callback.call(this.loaded.context, this); 105 this.loaded.callback.call(this.loaded.context, this);
104 } 106 }