fix CodeMirror.normalizeKeyMap
The bug is reported and will be fixed in the next CM update.
This commit is contained in:
parent
3817246da2
commit
913d13b01a
2
codemirror/lib/codemirror.js
vendored
2
codemirror/lib/codemirror.js
vendored
|
@ -5720,7 +5720,7 @@
|
||||||
for (var i = 0; i < keys.length; i++) {
|
for (var i = 0; i < keys.length; i++) {
|
||||||
var val, name;
|
var val, name;
|
||||||
if (i == keys.length - 1) {
|
if (i == keys.length - 1) {
|
||||||
name = keyname;
|
name = keys.join(" ");
|
||||||
val = value;
|
val = value;
|
||||||
} else {
|
} else {
|
||||||
name = keys.slice(0, i + 1).join(" ");
|
name = keys.slice(0, i + 1).join(" ");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user