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.

fix: make j and l accessible anywhere

intergrav e4294106 b04c91cb

+1 -3
+1 -3
src/js/input.js
··· 397 397 } 398 398 399 399 case "KeyR": { 400 - if (!e.shiftKey) return; // Shift+R for toggle loop (was Ctrl+R) 400 + if (!e.shiftKey) return; // Shift+R for toggle loop 401 401 e.preventDefault(); 402 402 state.loop = !state.loop; 403 403 ui.loopBtn.classList.toggle("active", state.loop); ··· 405 405 } 406 406 407 407 case "KeyJ": { 408 - if (!isInMain) return; // queue only 409 408 e.preventDefault(); 410 409 if (e.altKey) { 411 410 // Alt+J for previous track ··· 418 417 } 419 418 420 419 case "KeyL": { 421 - if (!isInMain) return; // queue only 422 420 e.preventDefault(); 423 421 if (e.altKey) { 424 422 // Alt+L for next track