diff options
Diffstat (limited to 'src/app/main.js')
-rw-r--r-- | src/app/main.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/app/main.js b/src/app/main.js index 8a25c36..e24cf1b 100644 --- a/src/app/main.js +++ b/src/app/main.js @@ -530,8 +530,8 @@ setlang(); let dragtimer; document.addEventListener("dragover", (e) => { - e.preventDefault(); - e.stopPropagation(); + e.preventDefault(); + e.stopPropagation(); dragUI.classList.add("shown"); clearTimeout(dragtimer); @@ -546,8 +546,8 @@ document.addEventListener("mouseover", (e) => { }); document.addEventListener("drop", (e) => { - event.preventDefault(); - event.stopPropagation(); + event.preventDefault(); + event.stopPropagation(); dragUI.classList.remove("shown"); installFromPath(event.dataTransfer.files[0].path); |