about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-08-29 14:11:07 +0200
committerThibaut Girka <thib@sitedethib.com>2019-08-29 17:32:22 +0200
commitf3ac4a44110872df8c331319b3c506b966406f6a (patch)
treeca9a15943e77f44a2f6630fa88f09c2581a551a8 /app/javascript
parent6ee2501991886f0c1f1c89a9b5724d61fc4fc719 (diff)
Fix clicking on the new audioplayer opening the toot in detailed view
Diffstat (limited to 'app/javascript')
-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 e45a9fc42..c34464fde 100644
--- a/app/javascript/flavours/glitch/components/status_content.js
+++ b/app/javascript/flavours/glitch/components/status_content.js
@@ -212,7 +212,7 @@ export default class StatusContent extends React.PureComponent {
 
     let element = e.target;
     while (element) {
-      if (element.localName === 'button' || element.localName === 'video' || element.localName === 'a' || element.localName === 'label') {
+      if (['button', 'video', 'a', 'label', 'wave'].includes(element.localName)) {
         return;
       }
       element = element.parentNode;