imageZoom: fix again (#1793)

Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
AutumnVN 2023-10-13 09:07:21 +07:00 committed by GitHub
parent 61cd7b4d99
commit c2721f158f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -174,8 +174,8 @@ export default definePlugin({
find: "handleImageLoad=", find: "handleImageLoad=",
replacement: [ replacement: [
{ {
match: /(render=function\(\){.{1,500}limitResponsiveWidth.{1,600})onMouseEnter:/, match: /showThumbhashPlaceholder:/,
replace: "$1...$self.makeProps(this),onMouseEnter:" replace: "...$self.makeProps(this),$&"
}, },
{ {
@ -189,7 +189,6 @@ export default definePlugin({
} }
] ]
}, },
{ {
find: ".carouselModal,", find: ".carouselModal,",
replacement: { replacement: {