Fix ShowAllMessageButtons (#1392)
Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
parent
bf34b2ae43
commit
8b1630bc99
|
@ -28,8 +28,8 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: ".Messages.MESSAGE_UTILITIES_A11Y_LABEL",
|
find: ".Messages.MESSAGE_UTILITIES_A11Y_LABEL",
|
||||||
replacement: {
|
replacement: {
|
||||||
// isExpanded: V, (?<=,V = shiftKeyDown && !H...;)
|
// isExpanded: V, (?<=,V = shiftKeyDown && !H...,|;)
|
||||||
match: /isExpanded:(\i),(?<=,\1=\i&&(!.+);.+?)/,
|
match: /isExpanded:(\i),(?<=,\1=\i&&(?=(!.+?)[,;]).+?)/,
|
||||||
replace: "isExpanded:$2,"
|
replace: "isExpanded:$2,"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue