mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-20 20:07:03 -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
|
// intercept channel navigation to switch/create tabs
|
||||||
{
|
{
|
||||||
find: "transitionToGuild",
|
find: "sourceLocationStack,null",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /transitionToGuild\(([^,]+),([^)]+)\)/,
|
match: /(\i\((\i),(\i),\i,\i\)\{)(.{0,25}"transitionToGuild)/,
|
||||||
replace: "$&;$self.handleNavigation($1,$2)"
|
replace: "$1$self.handleNavigation($2,$3);$4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// ctrl click to open in new tab in inbox unread
|
// 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
|
// prevent issues with the pins/inbox popouts being too tall
|
||||||
{
|
{
|
||||||
find: ".messagesPopoutWrap",
|
find: ".messagesPopoutWrap),style",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /\i&&\((\i).maxHeight.{0,5}\)/,
|
match: /\i&&\((\i).maxHeight.{0,5}\)/,
|
||||||
replace: "$&;$1.maxHeight-=$self.containerHeight"
|
replace: "$&;$1.maxHeight-=$self.containerHeight"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue