parent
5e314cef5d
commit
5b9e899c57
1 changed files with 9 additions and 5 deletions
|
|
@ -1043,15 +1043,19 @@ export default definePlugin({
|
|||
replace: "return $2.QUESTIFY=\"questify\",$1"
|
||||
}
|
||||
},
|
||||
{
|
||||
// Adds the "Questify" sort option to the sort dropdown.
|
||||
find: "NOT_SHAREABLE}",
|
||||
replacement: {
|
||||
match: /(?=case (\i.\i).SUGGESTED)/,
|
||||
replace: "case $1.QUESTIFY:return \"Questify\";"
|
||||
},
|
||||
},
|
||||
{
|
||||
find: "CLAIMED=\"claimed\",",
|
||||
group: true,
|
||||
replacement: [
|
||||
{
|
||||
// Adds the "Questify" sort option to the sort dropdown.
|
||||
match: /(?=case (\i.\i).SUGGESTED)/,
|
||||
replace: "case $1.QUESTIFY:return \"Questify\";"
|
||||
},
|
||||
|
||||
{
|
||||
// Run Questify's sort function every time due to hook requirements but return
|
||||
// early if not applicable. If the sort method is set to "Questify", replace the
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue