Fix clicking on the new audioplayer opening the toot in detailed view

lolsob-rspec
Thibaut Girka 2019-08-29 14:11:07 +02:00
parent 854a990d3c
commit c544962ee9
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ export default class StatusContent extends React.PureComponent {
let element = e.target;
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;
}
element = element.parentNode;