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

Clicking on the CW text should expand the status (#3855)

parent aa58cca0
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,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 === 'span' || e.target.localName === 'a' || (e.target.parentNode && e.target.parentNode.localName === 'a')) {
if (e.target.localName === 'button' || e.target.localName === 'a' || (e.target.parentNode && (e.target.parentNode.localName === 'button' || 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