Attempt to make OverrideForumDefaults not always slow
This commit is contained in:
parent
2a52efbd97
commit
ec6fbb190f
1 changed files with 2 additions and 2 deletions
|
|
@ -36,11 +36,11 @@ export default definePlugin({
|
||||||
find: "getDefaultLayout(){",
|
find: "getDefaultLayout(){",
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
match: /getDefaultLayout\(\){/,
|
match: /}getDefaultLayout\(\){/,
|
||||||
replace: "$&return $self.getLayout();"
|
replace: "$&return $self.getLayout();"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
match: /getDefaultSortOrder\(\){/,
|
match: /}getDefaultSortOrder\(\){/,
|
||||||
replace: "$&return $self.getSortOrder();"
|
replace: "$&return $self.getSortOrder();"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue