Fix clicking the audio player also opening toots in detailed view

pull/1381/head
Thibaut Girka 2020-07-10 09:50:41 +02:00 committed by ThibG
parent 0fe5deae89
commit d42a23fdbe
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ export default class StatusContent extends React.PureComponent {
let element = e.target; let element = e.target;
while (element) { while (element) {
if (['button', 'video', 'a', 'label', 'wave'].includes(element.localName)) { if (['button', 'video', 'a', 'label', 'canvas'].includes(element.localName)) {
return; return;
} }
element = element.parentNode; element = element.parentNode;