Remove useless Experiments patch
This commit is contained in:
parent
c25c95eecd
commit
b2a1410a96
|
@ -77,15 +77,6 @@ export default definePlugin({
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
// Fix search history being disabled / broken with isStaff
|
|
||||||
{
|
|
||||||
find: 'get("disable_new_search")',
|
|
||||||
predicate: () => settings.store.enableIsStaff,
|
|
||||||
replacement: {
|
|
||||||
match: /(?<=showNewSearch"\);return)\s?!/,
|
|
||||||
replace: "!1&&!"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
find: 'H1,title:"Experiments"',
|
find: 'H1,title:"Experiments"',
|
||||||
replacement: {
|
replacement: {
|
||||||
|
|
Loading…
Reference in a new issue