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