about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorbeatrix <beatrix.bitrot@gmail.com>2017-05-13 16:07:58 -0400
committerEugen Rochko <eugen@zeonfederated.com>2017-05-13 22:07:58 +0200
commitfd03a3d95731d479f19bc4894746027097b9e2a3 (patch)
treed534efaf7f5e461d89cfd08d19cbfe25ba21b1c9 /app
parent4bd0488a779f1122012c183154010513467a3f68 (diff)
tiny js fix for 'show more' button in chrome (#3045)
Diffstat (limited to 'app')
-rw-r--r--app/javascript/mastodon/components/status_content.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/status_content.js b/app/javascript/mastodon/components/status_content.js
index c51f85d10..fd12cc78a 100644
--- a/app/javascript/mastodon/components/status_content.js
+++ b/app/javascript/mastodon/components/status_content.js
@@ -68,7 +68,7 @@ class StatusContent extends React.PureComponent {
     const [ startX, startY ] = this.startXY;
     const [ deltaX, deltaY ] = [Math.abs(e.clientX - startX), Math.abs(e.clientY - startY)];
 
-    if (e.target.localName === 'button' || e.target.localName === 'a' || (e.target.parentNode && e.target.parentNode.localName === 'a')) {
+    if (e.target.localName === 'button' || e.target.localName === 'span' || e.target.localName === 'a' || (e.target.parentNode && e.target.parentNode.localName === 'a')) {
       return;
     }