From f3f4ee0e555e0d87c8c97135dbcda53a92f20353 Mon Sep 17 00:00:00 2001 From: James Campos Date: Mon, 5 Sep 2011 15:36:40 -0700 Subject: [PATCH] hurr --- 4chan_x.user.js | 2 ++ script.coffee | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index f678f8853..b9b82cdf8 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -922,6 +922,8 @@ c = String.fromCharCode(kc); if (e.shiftKey) { return c.toLowerCase(); + } else { + return c; } break; default: diff --git a/script.coffee b/script.coffee index c129103a7..a0c425f3f 100644 --- a/script.coffee +++ b/script.coffee @@ -636,7 +636,7 @@ keybinds = String.fromCharCode kc when 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90 #A-Z c = String.fromCharCode kc - c.toLowerCase() if e.shiftKey + if e.shiftKey then c.toLowerCase() else c else null if key