A music player that connects to your cloud/distributed storage.
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: close overflow menu when item is clicked

+11
+10
src/common/pages/nav.js
··· 85 85 } 86 86 } 87 87 88 + export function setupOverflowMenuClose() { 89 + const menu = document.getElementById("nav-overflow-menu"); 90 + if (!menu) return; 91 + menu.addEventListener("click", (e) => { 92 + if (/** @type {HTMLElement} */ (e.target).closest("a")) { 93 + /** @type {any} */ (menu).hidePopover?.(); 94 + } 95 + }); 96 + } 97 + 88 98 let _observer = /** @type {ResizeObserver | undefined} */ (undefined); 89 99 90 100 export function watchResize() {
+1
src/common/pages/ppr.js
··· 30 30 Nav.update(); 31 31 Nav.updateActiveLinks(); 32 32 Nav.watchResize(); 33 + Nav.setupOverflowMenuClose(); 33 34 34 35 Grid.setupFilter(); 35 36 Grid.insertToggleButtons();