diff options
author | Cheng-Han, Wu | 2016-04-20 16:16:46 +0800 |
---|---|---|
committer | Cheng-Han, Wu | 2016-04-20 16:16:46 +0800 |
commit | b996f801cc2b464b70e4cbf07944f2379f6552be (patch) | |
tree | 20ea51203f73f5a95c8901a97cd81014ad277c39 | |
parent | 37182382771e2194000ba36dadbf89b8f433e3b5 (diff) |
Updated to add statusPanel variable
Diffstat (limited to '')
-rw-r--r-- | public/js/index.js | 3 |
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" }); |