summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-04-24 10:49:22 +0800
committerCheng-Han, Wu2016-04-24 10:49:22 +0800
commit42ac80eb0e1415e002720e5d29ac35ed4c7eddb3 (patch)
treed10f1ae7564714c57f22ad4ab97ac8aea9dad14a /public
parent9418e446b12347f92b2f35bd21a792b596bb9915 (diff)
Fix other CodeMirror.Pass usage
Diffstat (limited to 'public')
-rw-r--r--public/js/index.js6
1 files 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");