Merge pull request #7119 from theguymadmax/comic-extension-fix
This commit is contained in:
@@ -395,7 +395,7 @@ class ArchiveSource {
|
||||
files = files.filter((file) => {
|
||||
const name = file.file.name;
|
||||
const index = name.lastIndexOf('.');
|
||||
return index !== -1 && IMAGE_FORMATS.includes(name.slice(index + 1));
|
||||
return index !== -1 && IMAGE_FORMATS.includes(name.slice(index + 1).toLowerCase());
|
||||
});
|
||||
files.sort((a, b) => {
|
||||
if (a.file.name < b.file.name) {
|
||||
|
||||
Reference in New Issue
Block a user