Fix #370
This commit is contained in:
parent
16a871e38d
commit
4948cb3b7c
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* appchan x - Version 2.3.2 - 2013-08-15
|
||||
* appchan x - Version 2.3.2 - 2013-08-16
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
* appchan x - Version 2.3.2 - 2013-08-15
|
||||
* appchan x - Version 2.3.2 - 2013-08-16
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||
@ -7721,9 +7721,13 @@
|
||||
return QR.fileInput(files);
|
||||
},
|
||||
openFileInput: function(e) {
|
||||
if (e.keyCode && e.keyCode !== 32) {
|
||||
e.preventDefault();
|
||||
if (e.keyCode && ![32, 13].contains(e.keyCode)) {
|
||||
return;
|
||||
}
|
||||
if (e.shiftKey && !e.keyCode) {
|
||||
return QR.selected.rmFile();
|
||||
}
|
||||
return QR.nodes.fileInput.click();
|
||||
},
|
||||
fileInput: function(files) {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// Generated by CoffeeScript
|
||||
/*
|
||||
* appchan x - Version 2.3.2 - 2013-08-15
|
||||
* appchan x - Version 2.3.2 - 2013-08-16
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||
@ -7733,9 +7733,13 @@
|
||||
return QR.fileInput(files);
|
||||
},
|
||||
openFileInput: function(e) {
|
||||
if (e.keyCode && e.keyCode !== 32) {
|
||||
e.preventDefault();
|
||||
if (e.keyCode && ![32, 13].contains(e.keyCode)) {
|
||||
return;
|
||||
}
|
||||
if (e.shiftKey && !e.keyCode) {
|
||||
return QR.selected.rmFile();
|
||||
}
|
||||
return QR.nodes.fileInput.click();
|
||||
},
|
||||
fileInput: function(files) {
|
||||
|
||||
@ -441,7 +441,10 @@ QR =
|
||||
QR.fileInput files
|
||||
|
||||
openFileInput: (e) ->
|
||||
return if e.keyCode and e.keyCode isnt 32
|
||||
e.preventDefault()
|
||||
return if e.keyCode and not [32, 13].contains e.keyCode
|
||||
if e.shiftKey and not e.keyCode
|
||||
return QR.selected.rmFile()
|
||||
QR.nodes.fileInput.click()
|
||||
|
||||
fileInput: (files) ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user