diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-07-10 09:50:41 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2020-07-10 10:28:05 +0200 |
commit | d42a23fdbe59f5a8f2beed4201ccd6d797fbd5f4 (patch) | |
tree | b5c89ad206fef747918f0565dfd40f00ab2ac5fc /app | |
parent | 0fe5deae89f140d2721e5c914b4ad06fea426623 (diff) |
Fix clicking the audio player also opening toots in detailed view
Diffstat (limited to 'app')
-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 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; |