mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-05-18 23:30:46 +02:00
Merge pull request #908 from JeLuF/png
Download all: Fix file name suffix
This commit is contained in:
commit
fb67ef2df0
@ -1167,12 +1167,10 @@ saveAllImagesBtn.addEventListener('click', (e) => {
|
|||||||
let req = htmlTaskMap.get(container)
|
let req = htmlTaskMap.get(container)
|
||||||
container.querySelectorAll(".imgContainer img").forEach(img => {
|
container.querySelectorAll(".imgContainer img").forEach(img => {
|
||||||
if (img.closest('.imgItem').style.display === 'none') {
|
if (img.closest('.imgItem').style.display === 'none') {
|
||||||
// console.log('skipping hidden image', img)
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
onDownloadImageClick(req, img)
|
onDownloadImageClick(req.reqBody, img)
|
||||||
// console.log(req)
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user