diff --git a/materialious/src/lib/components/Player.svelte b/materialious/src/lib/components/Player.svelte index 33bbf8cd..79cf6f4e 100644 --- a/materialious/src/lib/components/Player.svelte +++ b/materialious/src/lib/components/Player.svelte @@ -315,6 +315,10 @@ (button as HTMLElement).blur(); // Remove focus from the button button.removeAttribute('aria-pressed'); // Reset any ARIA attributes that might indicate selection }); + + const tempDiv = document.createElement('div'); + tempDiv.click(); + document.removeChild(tempDiv); }); // Based off the following