mirror of
https://codeberg.org/icewind/shelve.git
synced 2026-06-03 12:04:09 +02:00
fix dnd
This commit is contained in:
parent
2370cab1f2
commit
d2a6f5805c
1 changed files with 4 additions and 3 deletions
|
|
@ -306,9 +306,10 @@
|
|||
label.textContent = files.length > 1 ? (input.getAttribute('data-multiple-caption') || '').replace('{count}', files.length) : files[0].name;
|
||||
},
|
||||
triggerFormSubmit = function () {
|
||||
let event = new SubmitEvent('submit');
|
||||
event.bubbles = true;
|
||||
event.cancelable = true;
|
||||
let event = new SubmitEvent('submit', {
|
||||
bubbles: true,
|
||||
cancelable: true,
|
||||
});
|
||||
form.dispatchEvent(event);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue