Skip to content
Snippets Groups Projects
Commit fd03a3d9 authored by beatrix's avatar beatrix Committed by Eugen Rochko
Browse files

tiny js fix for 'show more' button in chrome (#3045)

parent 4bd0488a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment