From 05b4124761d6db5f64231b0a3010680c30ba404c Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 23 Oct 2022 11:48:00 -0500 Subject: [PATCH] Update comic reader to look for number up to 5 digits in filename for sorting --- client/components/readers/ComicReader.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/readers/ComicReader.vue b/client/components/readers/ComicReader.vue index 39fb7404..9a30496d 100644 --- a/client/components/readers/ComicReader.vue +++ b/client/components/readers/ComicReader.vue @@ -187,7 +187,7 @@ export default { }, parseImageFilename(filename) { var basename = Path.basename(filename, Path.extname(filename)) - var numbersinpath = basename.match(/\d{1,4}/g) + var numbersinpath = basename.match(/\d{1,5}/g) if (!numbersinpath || !numbersinpath.length) { return { index: -1,