diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-08-29 14:11:07 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-08-29 17:32:22 +0200 |
commit | f3ac4a44110872df8c331319b3c506b966406f6a (patch) | |
tree | ca9a15943e77f44a2f6630fa88f09c2581a551a8 /app/javascript/flavours/glitch | |
parent | 6ee2501991886f0c1f1c89a9b5724d61fc4fc719 (diff) |
Fix clicking on the new audioplayer opening the toot in detailed view
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r-- | app/javascript/flavours/glitch/components/status_content.js | 2 |
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; |