diff --git a/4chan_x.user.js b/4chan_x.user.js index ff3e7f8ce..7169fffe4 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -892,7 +892,6 @@ case 55: case 56: case 57: - return String.fromCharCode(kc); case 65: case 66: case 67: diff --git a/script.coffee b/script.coffee index 712d5f190..77f7be3ae 100644 --- a/script.coffee +++ b/script.coffee @@ -632,9 +632,7 @@ keybinds = 'Right' when 40 'Down' - when 48, 49, 50, 51, 52, 53, 54, 55, 56, 57 #0-9 - 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 + when 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 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 #0-9, A-Z c = String.fromCharCode kc if e.shiftKey then c else c.toLowerCase() else