Fix clicking the audio player also opening toots in detailed view
parent
fc05a7fb1f
commit
3876df0390
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue