From d42a23fdbe59f5a8f2beed4201ccd6d797fbd5f4 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Fri, 10 Jul 2020 09:50:41 +0200 Subject: [PATCH] Fix clicking the audio player also opening toots in detailed view --- app/javascript/flavours/glitch/components/status_content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/components/status_content.js b/app/javascript/flavours/glitch/components/status_content.js index a5822866ab..a39f747b8e 100644 --- a/app/javascript/flavours/glitch/components/status_content.js +++ b/app/javascript/flavours/glitch/components/status_content.js @@ -231,7 +231,7 @@ export default class StatusContent extends React.PureComponent { let element = e.target; while (element) { - if (['button', 'video', 'a', 'label', 'wave'].includes(element.localName)) { + if (['button', 'video', 'a', 'label', 'canvas'].includes(element.localName)) { return; } element = element.parentNode;