web/save: keyboard shortcut for muted mode

This commit is contained in:
wukko 2024-07-04 00:03:46 +06:00
parent 97d381e993
commit 8b801bad50
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
2 changed files with 6 additions and 4 deletions

View file

@ -69,13 +69,15 @@
case 'D':
pasteClipboard();
break;
case 'K':
case 'J':
changeDownloadMode('auto');
break;
case 'L':
case 'K':
changeDownloadMode('audio');
break;
// TODO: keyboard shortcut for "muted" mode
case 'L':
changeDownloadMode('mute');
break;
default:
break;
}