mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-28 13:33:44 +01:00
Fix clicking on the new audioplayer opening the toot in detailed view
This commit is contained in:
parent
6ee2501991
commit
f3ac4a4411
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ export default class StatusContent extends React.PureComponent {
|
||||||
|
|
||||||
let element = e.target;
|
let element = e.target;
|
||||||
while (element) {
|
while (element) {
|
||||||
if (element.localName === 'button' || element.localName === 'video' || element.localName === 'a' || element.localName === 'label') {
|
if (['button', 'video', 'a', 'label', 'wave'].includes(element.localName)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
element = element.parentNode;
|
element = element.parentNode;
|
||||||
|
|
Loading…
Reference in a new issue