From e44480c0c655f9d0c81223055fa2ded23a2d5256 Mon Sep 17 00:00:00 2001 From: Jordan Bates Date: Mon, 26 Aug 2013 20:48:50 -0700 Subject: [PATCH] This seems redundant now --- builds/4chan-X.user.js | 3 --- builds/crx/script.js | 3 --- src/Posting/QuickReply.coffee | 1 - 3 files changed, 7 deletions(-) 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()