Fix handling drag and drop event on FireFox
See: https://github.com/kartik-v/bootstrap-fileinput/issues/1283
This commit is contained in:
parent
9e579a7cf4
commit
d2642eea92
|
|
@ -11,6 +11,7 @@ function initUploadListeners() {
|
|||
|
||||
$('body')
|
||||
.on('change', '#file', () => handleFiles())
|
||||
.on('filebatchselected', '#file', () => handleFiles())
|
||||
.on('ifToggled', '#type-cape', () => handleFiles())
|
||||
.on('change', '#skin-type', function () {
|
||||
if ($('#file').prop('files').length === 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user