fix missing lowercase hotkey checks

Signed-off-by: Hendrik Wolff <hendrik.wolff@agdsn.me>
This commit is contained in:
Hendrik Wolff 2025-08-31 02:25:54 +02:00
parent 881d1eed30
commit d10d0ae0d6
No known key found for this signature in database
GPG key ID: 9E4B651FC15418E0

View file

@ -16630,7 +16630,7 @@ var ahotkeys = function (e) {
if (n !== 0)
return seek_au_rel(n) || true;
if (k == 'KeyY')
if (k == 'KeyY' || k == 'y')
return msel.getsel().length ? ebi('seldl').click() :
showfile.active() ? ebi('dldoc').click() :
dl_song();
@ -16674,18 +16674,18 @@ var ahotkeys = function (e) {
}
if (mp && mp.au && !mp.au.paused) {
if (k == 'KeyS')
if (k == 'KeyS' || k == 's')
return sel_song();
}
if (thegrid.en) {
if (k == 'KeyS' || k == 's')
if (k == 'KeyS' || k == 's' || k == 'S')
return ebi('gridsel').click();
if (k == 'KeyA' || k == 'a')
if (k == 'KeyA' || k == 'a' || k == 'A')
return QSA('#ghead a[z]')[0].click();
if (k == 'KeyD' || k == 'd')
if (k == 'KeyD' || k == 'd' || k == 'D')
return QSA('#ghead a[z]')[1].click();
}
};