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