feat(manga/zh): reverse chapters list

This commit is contained in:
kodjomoustapha
2024-05-04 19:53:05 +01:00
parent 19ab0e7004
commit e34b23dc7c
3 changed files with 5 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ const mangayomiSources = [{
"typeSource": "single", "typeSource": "single",
"isManga": true, "isManga": true,
"isNsfw": false, "isNsfw": false,
"version": "0.0.2", "version": "0.0.25",
"apiUrl": "", "apiUrl": "",
"dateFormat": "", "dateFormat": "",
"dateFormatLocale": "", "dateFormatLocale": "",
@@ -149,7 +149,6 @@ class DefaultExtension extends MProvider {
url: element.attr("href") url: element.attr("href")
}); });
} }
chapters.reverse();
return { return {
name: title, name: title,
imageUrl: cover, imageUrl: cover,

View File

@@ -7,7 +7,7 @@ const mangayomiSources = [{
"typeSource": "single", "typeSource": "single",
"isManga": true, "isManga": true,
"isNsfw": false, "isNsfw": false,
"version": "0.0.2", "version": "0.0.25",
"dateFormat": "", "dateFormat": "",
"dateFormatLocale": "", "dateFormatLocale": "",
"pkgPath": "manga/src/zh/manhuadb.js" "pkgPath": "manga/src/zh/manhuadb.js"
@@ -178,6 +178,7 @@ class DefaultExtension extends MProvider {
} }
index = index + 1; index = index + 1;
} }
episodes.reverse();
return { return {
name: title, name: title,
imageUrl: cover, imageUrl: cover,

View File

@@ -7,7 +7,7 @@ const mangayomiSources = [{
"typeSource": "single", "typeSource": "single",
"isManga": true, "isManga": true,
"isNsfw": false, "isNsfw": false,
"version": "0.0.2", "version": "0.0.25",
"dateFormat": "", "dateFormat": "",
"dateFormatLocale": "", "dateFormatLocale": "",
"pkgPath": "manga/src/zh/manhuagui.js" "pkgPath": "manga/src/zh/manhuagui.js"
@@ -227,6 +227,7 @@ class DefaultExtension extends MProvider {
} }
index = index + 1; index = index + 1;
} }
eps.reverse();
return { return {
name: title, name: title,
imageUrl: cover, imageUrl: cover,