summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author8chan <admin@8chan.co>2015-03-19 20:34:54 -0700
committerczaks <marcin@6irc.net>2015-03-31 06:01:23 +0200
commit419d69b4eea23b1ec92762d2ba2771ac0b46a315 (patch)
treecf830c05d8daa34e7a85645b66fc2da6a06c2415
parentf26256f55a3a1c5c403cb6292018a369d47bc812 (diff)
ayylmao @marktaiwan
-rw-r--r--js/file-selector.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/file-selector.js b/js/file-selector.js
index 687920d0..6a7e6773 100644
--- a/js/file-selector.js
+++ b/js/file-selector.js
@@ -147,7 +147,7 @@ $(document).on('keypress click', '.dropzone, .dropzone .file-hint', function (e)
e.stopPropagation();
// accept mosue click or Enter
- if (e.which != 1 || e.which != 13)
+ if (e.which != 1 && e.which != 13)
return;
var $fileSelector = $('<input type="file" multiple>');