From b1187a20146bc351b1e0a7669a40c7aff4ec0317 Mon Sep 17 00:00:00 2001 From: "Cheng-Han, Wu" Date: Sun, 24 Apr 2016 11:03:57 +0800 Subject: [PATCH] Fix some indentation --- public/js/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/js/index.js b/public/js/index.js index b903a7b..3aa1250 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