Spaces:
Running
Running
Update js_quene.js
Browse files- js_quene.js +0 -9
js_quene.js
CHANGED
@@ -50,15 +50,6 @@ function startNextImageInQuene(){
|
|
50 |
|
51 |
dropZone = document.querySelector("#drag-zone2");
|
52 |
dropZone.dispatchEvent(dropEvent);
|
53 |
-
|
54 |
-
data = file.dataTransfer.getData('text/uri-list') || file.dataTransfer.getData('text/plain');
|
55 |
-
document.body.style.backgroundImage = `url('${data}')`;
|
56 |
-
|
57 |
-
document.body.style.backgroundSize = "cover";
|
58 |
-
document.body.style.backgroundPosition = "center";
|
59 |
-
document.body.style.backgroundRepeat = "no-repeat";
|
60 |
-
document.body.style.height = "100vh";
|
61 |
-
document.body.style.margin = "0"; // Remove default margin if needed
|
62 |
|
63 |
console.log(`File ${currentIndex + 1} of ${droppedFiles.length} Name: ${file.name}`);
|
64 |
|
|
|
50 |
|
51 |
dropZone = document.querySelector("#drag-zone2");
|
52 |
dropZone.dispatchEvent(dropEvent);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
|
54 |
console.log(`File ${currentIndex + 1} of ${droppedFiles.length} Name: ${file.name}`);
|
55 |
|