fix CodeMirror.normalizeKeyMap

The bug is reported and will be fixed in the next CM update.
This commit is contained in:
tophf 2015-05-13 20:24:20 +03:00
parent 3817246da2
commit 913d13b01a

View File

@ -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(" ");