diff options
-rwxr-xr-x | js/components/layout/document-bar.reel/document-bar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/components/layout/document-bar.reel/document-bar.js b/js/components/layout/document-bar.reel/document-bar.js index bf84c652..098e9e68 100755 --- a/js/components/layout/document-bar.reel/document-bar.js +++ b/js/components/layout/document-bar.reel/document-bar.js | |||
@@ -232,7 +232,7 @@ exports.DocumentBar = Montage.create(Component, { | |||
232 | showView: { | 232 | showView: { |
233 | value: function (view, render, aBtn, iBtn) { | 233 | value: function (view, render, aBtn, iBtn) { |
234 | //TODO: Remove reference to string view | 234 | //TODO: Remove reference to string view |
235 | if (this._currentDocument.model.currentView !== view) { | 235 | if (this._currentDocument.currentView !== view) { |
236 | var doc; | 236 | var doc; |
237 | //Switching view and changing button modes | 237 | //Switching view and changing button modes |
238 | this._currentDocument.model.switchViewTo(view); | 238 | this._currentDocument.model.switchViewTo(view); |