diff options
Diffstat (limited to 'js/document')
-rwxr-xr-x | js/document/document-html.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/js/document/document-html.js b/js/document/document-html.js index 377c305a..c60a12a2 100755 --- a/js/document/document-html.js +++ b/js/document/document-html.js | |||
@@ -99,8 +99,6 @@ 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(); | ||
104 | //Making callback after view is loaded | 102 | //Making callback after view is loaded |
105 | this.loaded.callback.call(this.loaded.context, this); | 103 | this.loaded.callback.call(this.loaded.context, this); |
106 | } | 104 | } |