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]",
|
||||
replacement: {
|
||||
match: /\.nonMediaAttachment\].{0,10}children:\[\S/,
|
||||
replace: "$&&&$self.renderPiPButton(),"
|
||||
match: /\.nonMediaAttachment\].{0,10}children:\[(\S)/,
|
||||
replace: "$&,$1&&$self.renderPiPButton(),"
|
||||
},
|
||||
},
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user