a simple web player for subsonic tinysub.devins.page
subsonic navidrome javascript
9
fork

Configure Feed

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

fix: sort menu not displaying properly

+6 -2
+6 -2
src/js/contextmenu.js
··· 66 66 click: async (e) => { 67 67 e.stopPropagation(); 68 68 try { 69 - await handler(); 70 - } finally { 69 + if ((await handler()) !== false) { 70 + cleanupContextMenu(); 71 + } 72 + } catch (err) { 73 + console.error("[ContextMenu] Error:", err); 71 74 cleanupContextMenu(); 72 75 } 73 76 }, ··· 223 226 }, 224 227 [STRINGS.CONTEXT_SORT]: () => { 225 228 showContextMenu(x, y, getSortMenuItems()); 229 + return false; // prevent cleanup, keep submenu open 226 230 }, 227 231 [STRINGS.CONTEXT_FAVORITE]: async () => { 228 232 await Promise.all(