Make they Ctrl/Alt/Command-= and - key combos work (on Chrome).
This commit is contained in:
parent
91bc4b82d7
commit
00305167a2
1 changed files with 3 additions and 3 deletions
|
|
@ -103,7 +103,7 @@ var Keys = (function() {
|
|||
80: 'p', 81: 'q', 82: 'r', 83: 's', 84: 't', 85: 'u', 86: 'v',
|
||||
87: 'w', 88: 'x', 89: 'y', 90: 'z', 107: '+', 109: '-', 110: '.',
|
||||
188: ',', 190: '.', 191: '/', 192: '`', 219: '[', 220: '\\',
|
||||
221: ']', 222: '\''
|
||||
221: ']', 222: '\'', 187: '=', 189: '-'
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -130,10 +130,10 @@ var Keys = (function() {
|
|||
ret.enter = ret["return"];
|
||||
ret.escape = ret.esc;
|
||||
ret.del = ret["delete"];
|
||||
|
||||
|
||||
// workaround for firefox bug
|
||||
ret[173] = '-';
|
||||
|
||||
|
||||
(function() {
|
||||
var mods = ["cmd", "ctrl", "alt", "shift"];
|
||||
for (var i = Math.pow(2, mods.length); i--;) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue