adjust download button state

This commit is contained in:
Pete Matsyburka
2024-04-01 15:15:55 +03:00
parent 05e66b60ee
commit 014835f90d
+3 -3
View File
@@ -48,9 +48,9 @@ export default targetable(class extends HTMLElement {
fileRequests.reduce(
(prevPromise, request) => prevPromise.then(() => request()),
Promise.resolve()
)
this.toggleState()
).finally(() => {
this.toggleState()
})
}
downloadSafariIos (urls) {