ya_sir
commited on
Update script.js
Browse files
script.js
CHANGED
@@ -370,9 +370,11 @@ console.log(progress.value)
|
|
370 |
// Process is complete, handle the data
|
371 |
console.log(data)
|
372 |
const img = document.createElement('img');
|
373 |
-
if(
|
|
|
374 |
img.id = "i1"
|
375 |
-
}
|
|
|
376 |
pi.innerHTML = '';
|
377 |
pi.innerText = '';
|
378 |
img.src = data.trim().replace(/^"|"$/g, '');
|
|
|
370 |
// Process is complete, handle the data
|
371 |
console.log(data)
|
372 |
const img = document.createElement('img');
|
373 |
+
if(window.innerWidth<700){
|
374 |
+
if(n==1){
|
375 |
img.id = "i1"
|
376 |
+
}
|
377 |
+
}
|
378 |
pi.innerHTML = '';
|
379 |
pi.innerText = '';
|
380 |
img.src = data.trim().replace(/^"|"$/g, '');
|