mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
case-insensitive cover check
This commit is contained in:
parent
1ea145b384
commit
f38a3fca5b
|
@ -452,7 +452,7 @@ var mpl = (function () {
|
|||
cover = null;
|
||||
|
||||
for (var a = 0, aa = files.length; a < aa; a++) {
|
||||
if (/^(cover|folder)\.(jpe?g|png|gif)$/.test(files[a].textContent)) {
|
||||
if (/^(cover|folder)\.(jpe?g|png|gif)$/i.test(files[a].textContent)) {
|
||||
cover = noq_href(files[a]);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue