commit: fd03a3d95731d479f19bc4894746027097b9e2a3
parent: 4bd0488a779f1122012c183154010513467a3f68
Author: beatrix <beatrix.bitrot@gmail.com>
Date: Sat, 13 May 2017 16:07:58 -0400
tiny js fix for 'show more' button in chrome (#3045)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;
}