Reset the stop button once a task finishes normally

This commit is contained in:
cmdr2 2022-09-13 22:57:32 +05:30
parent 5605cfe213
commit 0c0c8e503e

View File

@ -877,6 +877,8 @@ async function makeImage() {
makeImageBtn.innerHTML = 'Make Image'
makeImageBtn.disabled = false
makeImageBtn.style.display = 'block'
stopImageBtn.style.display = 'none'
if (isSoundEnabled()) {
playSound()