Fix typo in detecting '+' literal

This commit is contained in:
Bryan Housel
2017-06-06 16:39:32 -04:00
parent 507183c8ee
commit 1341c80664
+1 -1
View File
@@ -130,7 +130,7 @@ export function d3keybinding(namespace) {
for (var j = 0; j < code.length; j++) {
// Normalise matching errors
if (code[j] === '++') code[i] = '+';
if (code[j] === '++') code[j] = '+';
if (code[j] in d3keybinding.modifierCodes) {
binding.event.modifiers[d3keybinding.modifierProperties[d3keybinding.modifierCodes[code[j]]]] = true;