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