mirror of
https://github.com/9001/copyparty.git
synced 2025-10-02 14:42:28 -06:00
fix missing lowercase hotkey checks
Signed-off-by: Hendrik Wolff <hendrik.wolff@agdsn.me>
This commit is contained in:
parent
881d1eed30
commit
d10d0ae0d6
|
@ -16630,7 +16630,7 @@ var ahotkeys = function (e) {
|
||||||
if (n !== 0)
|
if (n !== 0)
|
||||||
return seek_au_rel(n) || true;
|
return seek_au_rel(n) || true;
|
||||||
|
|
||||||
if (k == 'KeyY')
|
if (k == 'KeyY' || k == 'y')
|
||||||
return msel.getsel().length ? ebi('seldl').click() :
|
return msel.getsel().length ? ebi('seldl').click() :
|
||||||
showfile.active() ? ebi('dldoc').click() :
|
showfile.active() ? ebi('dldoc').click() :
|
||||||
dl_song();
|
dl_song();
|
||||||
|
@ -16674,18 +16674,18 @@ var ahotkeys = function (e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mp && mp.au && !mp.au.paused) {
|
if (mp && mp.au && !mp.au.paused) {
|
||||||
if (k == 'KeyS')
|
if (k == 'KeyS' || k == 's')
|
||||||
return sel_song();
|
return sel_song();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (thegrid.en) {
|
if (thegrid.en) {
|
||||||
if (k == 'KeyS' || k == 's')
|
if (k == 'KeyS' || k == 's' || k == 'S')
|
||||||
return ebi('gridsel').click();
|
return ebi('gridsel').click();
|
||||||
|
|
||||||
if (k == 'KeyA' || k == 'a')
|
if (k == 'KeyA' || k == 'a' || k == 'A')
|
||||||
return QSA('#ghead a[z]')[0].click();
|
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();
|
return QSA('#ghead a[z]')[1].click();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue