diff --git a/index.html b/index.html index cbdecff9..077819e4 100644 --- a/index.html +++ b/index.html @@ -45,6 +45,7 @@
Advanced settings: [show]
+



@@ -183,7 +184,12 @@ async function makeImage() { btn.innerHTML = 'Make Image' btn.disabled = false; - playSound() + + const shouldPlaySound = document.querySelector('#sound_toggle').checked + + if (shouldPlaySound) { + playSound() + } if (!res) { return