Attempt to make OverrideForumDefaults not always slow

This commit is contained in:
Nuckyz 2025-07-14 17:09:21 -03:00
parent 1a98d54e3a
commit ad810df978
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -36,11 +36,11 @@ export default definePlugin({
find: "getDefaultLayout(){",
replacement: [
{
match: /getDefaultLayout\(\){/,
match: /}getDefaultLayout\(\){/,
replace: "$&return $self.getLayout();"
},
{
match: /getDefaultSortOrder\(\){/,
match: /}getDefaultSortOrder\(\){/,
replace: "$&return $self.getSortOrder();"
}
]