aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2024-02-03 22:14:42 +0100
committer0neGal <mail@0negal.com>2024-02-03 22:14:42 +0100
commita12be054d2352f4a9c6613b460a8ae63bf5bfb7a (patch)
treeb456d1aef4f5df60389ff40c356a58c7cdb66493 /src/app/main.js
parentc1c5c64e36407aefb250236a91253446b3486419 (diff)
downloadViper-a12be054d2352f4a9c6613b460a8ae63bf5bfb7a.tar.gz
Viper-a12be054d2352f4a9c6613b460a8ae63bf5bfb7a.zip
fixed some places using spaces for indentation
Ew! Bad! No! Bad! Bad!
Diffstat (limited to 'src/app/main.js')
-rw-r--r--src/app/main.js8
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);