Skip to content

Commit 5d38860

Browse files
authored
drag drop addon --debug to fix bug
1 parent 50a2dd1 commit 5d38860

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/addons/addons/drag-drop/userscript.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export default async function ({ addon, console }) {
6565
const hdFilter = addon.settings.get("use-hd-upload") ? "" : ":not(.sa-better-img-uploads-input)";
6666
const fileInput = el.querySelector('input[class*="action-menu_file-input"]' + hdFilter);
6767
fileInput.files = files;
68+
console.log(files);
6869
fileInput.dispatchEvent(new Event("change", { bubbles: true }));
6970
};
7071
} else if ((el = e.target.closest('div[class*="monitor_list-monitor"]'))) {

0 commit comments

Comments
 (0)