Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/FoxxMD/multi-scrobbler. Scrobble plays from multiple sources to multiple clients docs.multi-scrobbler.app
deezer docker jellyfin koito lastfm listenbrainz maloja mopidy mpris music music-assistant plex scrobble self-hosted spotify subsonic tautulli youtube-music
Something went wrong. Try again.
687 B · 13 lines
JavaScript
1234567891011121314// starlight-codeblocks' client loader re-scans the page on Astro's page-load eventexport function onRouteDidUpdate() { document.dispatchEvent(new Event('astro:page-load'));}
if (typeof document !== 'undefined') { // Docusaurus' <details> (theme-common Details) calls stopPropagation() on every click inside it, so clicks // on code tabs never reach the `document` listener that starlight-codeblocks switches tabs with. // Tab clicks are never summary clicks, so letting them through cannot toggle any <details>. document.addEventListener('click', (event) => { if (event.target.closest?.('.scb-tabs-list > [role="tab"]')) event.stopPropagation = () => {}; }, true);}