mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-01-22 22:29:43 +01: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)
|
||||
container.querySelectorAll(".imgContainer img").forEach(img => {
|
||||
if (img.closest('.imgItem').style.display === 'none') {
|
||||
// console.log('skipping hidden image', img)
|
||||
return
|
||||
}
|
||||
|
||||
onDownloadImageClick(req, img)
|
||||
// console.log(req)
|
||||
onDownloadImageClick(req.reqBody, img)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user