mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-25 01:24:02 -05:00
Fix clicking the audio player also opening toots in detailed view
This commit is contained in:
parent
0fe5deae89
commit
d42a23fdbe
@ -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
Block a user