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