This commit is contained in:
James Campos 2012-06-03 18:53:21 -07:00
parent 7f3b9eb5c9
commit bdca125758
2 changed files with 2 additions and 2 deletions

View File

@ -1055,7 +1055,7 @@
},
keydown: function(e) {
var key, link, o, target, thread;
if (!(key = Kebinds.keyCode(e))) {
if (!(key = Keybinds.keyCode(e))) {
return;
}
target = e.target;

View File

@ -793,7 +793,7 @@ Keybinds =
$.on d, 'keydown', Keybinds.keydown
keydown: (e) ->
return unless key = Kebinds.keyCode e
return unless key = Keybinds.keyCode e
{target} = e
if /TEXTAREA|INPUT/.test target.nodeName
return unless (key is 'Esc') or (/\+/.test key)