mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-20 11:57:02 -04:00
parent
6096013c65
commit
b27ddc222a
1 changed files with 5 additions and 5 deletions
|
@ -54,10 +54,10 @@ export default definePlugin({
|
|||
},
|
||||
// intercept channel navigation to switch/create tabs
|
||||
{
|
||||
find: "transitionToGuild",
|
||||
find: "sourceLocationStack,null",
|
||||
replacement: {
|
||||
match: /transitionToGuild\(([^,]+),([^)]+)\)/,
|
||||
replace: "$&;$self.handleNavigation($1,$2)"
|
||||
match: /(\i\((\i),(\i),\i,\i\)\{)(.{0,25}"transitionToGuild)/,
|
||||
replace: "$1$self.handleNavigation($2,$3);$4"
|
||||
}
|
||||
},
|
||||
// ctrl click to open in new tab in inbox unread
|
||||
|
@ -86,7 +86,7 @@ export default definePlugin({
|
|||
},
|
||||
// prevent issues with the pins/inbox popouts being too tall
|
||||
{
|
||||
find: ".messagesPopoutWrap",
|
||||
find: ".messagesPopoutWrap),style",
|
||||
replacement: {
|
||||
match: /\i&&\((\i).maxHeight.{0,5}\)/,
|
||||
replace: "$&;$1.maxHeight-=$self.containerHeight"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue