diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 110b63a81..cdc33f18c 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -5590,9 +5590,6 @@ return post.setFile(file); }, openFileInput: function(e) { - if (e.keyCode && ![32, 13].contains(e.keyCode)) { - return; - } e.stopPropagation(); if (e.shiftKey && e.type === 'click') { return QR.selected.rmFile(); diff --git a/builds/crx/script.js b/builds/crx/script.js index 1460fbbca..112d20dfb 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -5600,9 +5600,6 @@ return post.setFile(file); }, openFileInput: function(e) { - if (e.keyCode && ![32, 13].contains(e.keyCode)) { - return; - } e.stopPropagation(); if (e.shiftKey && e.type === 'click') { return QR.selected.rmFile(); diff --git a/src/Posting/QuickReply.coffee b/src/Posting/QuickReply.coffee index 5228b47e8..75caae801 100755 --- a/src/Posting/QuickReply.coffee +++ b/src/Posting/QuickReply.coffee @@ -497,7 +497,6 @@ QR = post.setFile file openFileInput: (e) -> - return if e.keyCode and not [32, 13].contains e.keyCode e.stopPropagation() if e.shiftKey and e.type is 'click' return QR.selected.rmFile()