From bdca125758e26c4ad54496ff67fc42959408165f Mon Sep 17 00:00:00 2001 From: James Campos Date: Sun, 3 Jun 2012 18:53:21 -0700 Subject: [PATCH] derp --- 4chan_x.user.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 7a186f806..27a3a0412 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -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; diff --git a/script.coffee b/script.coffee index aae97b628..a2e3fcf7c 100644 --- a/script.coffee +++ b/script.coffee @@ -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)