diff options
author | Cheng-Han, Wu | 2016-04-24 11:03:57 +0800 |
---|---|---|
committer | Cheng-Han, Wu | 2016-04-24 11:03:57 +0800 |
commit | b1187a20146bc351b1e0a7669a40c7aff4ec0317 (patch) | |
tree | d1feeafe950612537cbcf7816b4b9d85fadf22d4 /public | |
parent | 42ac80eb0e1415e002720e5d29ac35ed4c7eddb3 (diff) |
Fix some indentation
Diffstat (limited to 'public')
-rw-r--r-- | public/js/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/js/index.js b/public/js/index.js index b903a7ba..3aa1250e 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -2,11 +2,11 @@ var defaultTextHeight = 20; var viewportMargin = 20; var defaultExtraKeys = { "F11": function(cm) { - cm.setOption("fullScreen", !cm.getOption("fullScreen")); + cm.setOption("fullScreen", !cm.getOption("fullScreen")); }, "Esc": function(cm) { - if (cm.getOption('keyMap').substr(0, 3) === 'vim') return CodeMirror.Pass; - else if(cm.getOption("fullScreen")) cm.setOption("fullScreen", false); + if (cm.getOption('keyMap').substr(0, 3) === 'vim') return CodeMirror.Pass; + else if(cm.getOption("fullScreen")) cm.setOption("fullScreen", false); }, "Cmd-S": function () { return CodeMirror.Pass |