mirror of
https://github.com/venera-app/venera-configs.git
synced 2025-09-28 08:47:24 +00:00
[jm] Fix gif.
This commit is contained in:
5
jm.js
5
jm.js
@@ -7,7 +7,7 @@ class JM extends ComicSource {
|
||||
// unique id of the source
|
||||
key = "jm"
|
||||
|
||||
version = "1.2.0"
|
||||
version = "1.2.1"
|
||||
|
||||
minAppVersion = "1.2.5"
|
||||
|
||||
@@ -767,7 +767,8 @@ class JM extends ComicSource {
|
||||
}
|
||||
return {
|
||||
headers: this.getImgHeaders(),
|
||||
modifyImage: `
|
||||
// gif 图片不需要修改
|
||||
modifyImage: url.endsWith(".gif") ? null : `
|
||||
let modifyImage = (image) => {
|
||||
const num = ${num}
|
||||
let blockSize = Math.floor(image.height / num)
|
||||
|
Reference in New Issue
Block a user