aboutsummaryrefslogtreecommitdiff
path: root/js/document/models
diff options
context:
space:
mode:
Diffstat (limited to 'js/document/models')
-rwxr-xr-xjs/document/models/text.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/models/text.js b/js/document/models/text.js
index d21666d0..fe02953c 100755
--- a/js/document/models/text.js
+++ b/js/document/models/text.js
@@ -59,7 +59,7 @@ exports.TextDocumentModel = Montage.create(BaseDocumentModel, {
59 success = true; 59 success = true;
60 } 60 }
61 // 61 //
62 this.views.code.textParentContainer.removeChild(this.views.code.textViewContainer); 62 this.parentContainer.removeChild(this.views.code.textViewContainer);
63 this.views.code.restoreAllPanels(); 63 this.views.code.restoreAllPanels();
64 this.views.code.showCodeViewBar(false); 64 this.views.code.showCodeViewBar(false);
65 this.views.code = null; 65 this.views.code = null;