]> git.dabkitsch.com - m29-web-sfp.git/commitdiff
removing dropfile handler
authorequilet <jml@dabkitsch.com>
Sun, 1 Mar 2026 07:52:21 +0000 (23:52 -0800)
committerequilet <jml@dabkitsch.com>
Sun, 1 Mar 2026 07:52:21 +0000 (23:52 -0800)
app.js

diff --git a/app.js b/app.js
index 219b5863456490ab8ac52011f843317ad2537648..f1a74f450269a81d9466d1f1e7a83ef850e4f54d 100644 (file)
--- a/app.js
+++ b/app.js
@@ -1043,28 +1043,3 @@ function buttons_make() {
         text_butt.classList.remove('clicked');    
     });
 }
-
-/*
-//this was here for a case where user drops an audio file on page...
-function dropHandler(e) {
-   e.preventDefault();
-   console.log("file dropped to drop area");
-
-    if(e.dataTransfer.items) {
-        [...e.dataTransfer.items].forEach((item, i) => {
-            if(item.kind === 'file') {
-                //const file = item.getAsFile();
-                //console.log(`... file[${i}].name = ${file.name}`);
-                console.log("filename: ", file.name);
-            }
-        });
-    } else {
-        [...e.dataTransfer.files].forEach((file, i) => { 
-            //console.log(`... file[${i}].name = ${file.name}`);
-            console.log("filename: ", file.name);
-        });
-    }
-}
-*/
-
-