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

Configure Feed

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

refactor: cleanup

intergrav b46e5261 562c0e3b

+2 -4
+2 -3
src/js/contextmenu.js
··· 63 63 64 64 showContextMenu(e.clientX, e.clientY, { 65 65 Play: () => { 66 - state.queueIndex = selectedIndices[0]; 67 - playTrack(state.queue[selectedIndices[0]]); 68 - updateQueue(false); 66 + playQueueTrack(selectedIndices[0]); 67 + updateQueue(); 69 68 }, 70 69 "Play Next": () => { 71 70 const insertPos = state.queueIndex >= 0 ? state.queueIndex + 1 : 0;
-1
src/js/draggable.js
··· 20 20 21 21 clearSelection(); 22 22 selectRow(getRowIndex(row, DATA_ATTRS.INDEX)); 23 - updateSelectionUI(); 24 23 updateRowClass(ui.queueList, getSelectedIndices(), CLASSES.DRAGGING, true); 25 24 e.dataTransfer.effectAllowed = "move"; 26 25 e.dataTransfer.setDragImage(row, 0, 0);