NoMosaic: Fix Patch
This commit is contained in:
parent
1c7dda33f6
commit
84153993a7
2 changed files with 4 additions and 4 deletions
|
|
@ -52,8 +52,8 @@ export default definePlugin({
|
|||
replace: "false"
|
||||
},
|
||||
{
|
||||
match: /\i\.length<\i\.length/,
|
||||
replace: "false",
|
||||
match: /return \i\.length<\i\.length/,
|
||||
replace: "return false",
|
||||
predicate: () => settings.store.hideArrow
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@ export default definePlugin({
|
|||
{
|
||||
find: '"PLAINTEXT_PREVIEW":"OTHER"',
|
||||
replacement: {
|
||||
match: /"IMAGE"===\i\|\|"VIDEO"===\i\|\|"CLIP"===\i/,
|
||||
replace: "false"
|
||||
match: /return"IMAGE"===\i\|\|"VIDEO"===\i\|\|"CLIP"===\i/,
|
||||
replace: "return false"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue