Allow enter key to open file dialog once
This commit is contained in:
parent
6598b5a45e
commit
128ff46440
@ -497,7 +497,7 @@ QR =
|
||||
post.setFile file
|
||||
|
||||
openFileInput: (e) ->
|
||||
return if e.keyCode and e.keyCode isnt 32
|
||||
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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user