diff options
| author | Cheng-Han, Wu | 2016-04-24 10:49:22 +0800 | 
|---|---|---|
| committer | Cheng-Han, Wu | 2016-04-24 10:49:22 +0800 | 
| commit | 42ac80eb0e1415e002720e5d29ac35ed4c7eddb3 (patch) | |
| tree | d10f1ae7564714c57f22ad4ab97ac8aea9dad14a /public/js | |
| parent | 9418e446b12347f92b2f35bd21a792b596bb9915 (diff) | |
Fix other CodeMirror.Pass usage
Diffstat (limited to '')
| -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 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"); | 
