about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-07-10 09:50:41 +0200
committerThibG <thib@sitedethib.com>2020-07-10 10:28:05 +0200
commitd42a23fdbe59f5a8f2beed4201ccd6d797fbd5f4 (patch)
treeb5c89ad206fef747918f0565dfd40f00ab2ac5fc /app/javascript/flavours/glitch/components
parent0fe5deae89f140d2721e5c914b4ad06fea426623 (diff)
Fix clicking the audio player also opening toots in detailed view
Diffstat (limited to 'app/javascript/flavours/glitch/components')
-rw-r--r--app/javascript/flavours/glitch/components/status_content.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/status_content.js b/app/javascript/flavours/glitch/components/status_content.js
index a5822866a..a39f747b8 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;