summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/js/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js
index d19cc25a..b40836f3 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -285,6 +285,7 @@ defaultTextHeight = parseInt($(".CodeMirror").css('line-height'));
var statusBarTemplate = null;
var statusBar = null;
+var statusPanel = null;
var statusCursor = null;
var statusFile = null;
var statusIndicators = null;
@@ -312,7 +313,7 @@ function addStatusBar() {
statusIndent = statusBar.find('.status-indent');
statusKeymap = statusBar.find('.status-keymap');
statusLength = statusBar.find('.status-length');
- editor.addPanel(statusBar[0], {
+ statusPanel = editor.addPanel(statusBar[0], {
position: "bottom"
});