Download all: Fix file name suffix

This commit is contained in:
JeLuF 2023-02-19 12:44:10 +01:00
parent e7a2dfa57f
commit 31a1c4b2b2

View File

@ -1165,12 +1165,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)
})
})
})