mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-20 09:57:49 +02:00
Tidy up
This commit is contained in:
parent
8e2074d29d
commit
c191a67dc6
@ -194,10 +194,7 @@ async function makeImage() {
|
|||||||
btn.innerHTML = 'Make Image'
|
btn.innerHTML = 'Make Image'
|
||||||
btn.disabled = false;
|
btn.disabled = false;
|
||||||
|
|
||||||
|
if (isSoundEnabled()) {
|
||||||
const shouldPlaySound = document.querySelector('#sound_toggle').checked
|
|
||||||
|
|
||||||
if (shouldPlaySound) {
|
|
||||||
playSound()
|
playSound()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user