fix: PiP replacing video download button (#1910)
This commit is contained in:
parent
aae790f1c1
commit
9dd8e72245
@ -28,8 +28,8 @@ export default definePlugin({
|
|||||||
{
|
{
|
||||||
find: ".nonMediaAttachment]",
|
find: ".nonMediaAttachment]",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /\.nonMediaAttachment\].{0,10}children:\[\S/,
|
match: /\.nonMediaAttachment\].{0,10}children:\[(\S)/,
|
||||||
replace: "$&&&$self.renderPiPButton(),"
|
replace: "$&,$1&&$self.renderPiPButton(),"
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user