From 42ac80eb0e1415e002720e5d29ac35ed4c7eddb3 Mon Sep 17 00:00:00 2001 From: Cheng-Han, Wu Date: Sun, 24 Apr 2016 10:49:22 +0800 Subject: Fix other CodeMirror.Pass usage --- 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 26c1ed6a..b903a7ba 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -2906,19 +2906,19 @@ $(editor.getInputField()) $(this).data('autocompleting', true); editor.setOption("extraKeys", { "Up": function () { - return CodeMirror.PASS; + return CodeMirror.Pass; }, "Right": function () { editor.doc.cm.execCommand("goCharRight"); }, "Down": function () { - return CodeMirror.PASS; + return CodeMirror.Pass; }, "Left": function () { editor.doc.cm.execCommand("goCharLeft"); }, "Enter": function () { - return CodeMirror.PASS; + return CodeMirror.Pass; }, "Backspace": function () { editor.doc.cm.execCommand("delCharBefore"); -- cgit v1.2.3