diff --git a/src/lib/ui/Button.svelte b/src/lib/ui/Button.svelte index 702d3fa..4a7d95e 100644 --- a/src/lib/ui/Button.svelte +++ b/src/lib/ui/Button.svelte @@ -18,11 +18,11 @@ if (centered) classes.push("centered"); function click() { + if (disabled) return; if (href) { location = href; return; } - if (disabled) return; play_sound(sound); dispatch('click'); }