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

Fix an error on dragging into status_content component (#3308)

parent a8736aab
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,10 @@ class StatusContent extends React.PureComponent {
}
handleMouseUp = (e) => {
if (!this.startXY) {
return;
}
const [ startX, startY ] = this.startXY;
const [ deltaX, deltaY ] = [Math.abs(e.clientX - startX), Math.abs(e.clientY - startY)];
......
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