diff options
author | Valerio Virgillito | 2012-05-31 00:52:49 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-31 00:52:49 -0700 |
commit | 5b982abcfe51278062c06fde5fa7e5371f6aef54 (patch) | |
tree | 37b1161d8af5fb7959cf594e0a070c31251bb203 /js/document/document-html.js | |
parent | f51718fc39f1311a13cc6c998eb63160dc25218d (diff) | |
download | ninja-5b982abcfe51278062c06fde5fa7e5371f6aef54.tar.gz |
cleanup item
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/document/document-html.js')
-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 | } |