Skip to content

Commit

Permalink
Revert "Fix: remove event handler (elastic#959)"
Browse files Browse the repository at this point in the history
This reverts commit 28c9986
  • Loading branch information
monfera committed Aug 15, 2018
1 parent 49ebe27 commit 23864c2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions public/components/workpad_page/event_handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ const setupHandler = (commit, target) => {
e.stopPropagation();
const { clientX, clientY } = e;
const { x, y } = localMousePosition(target, clientX, clientY);
window.onmousemove = () => {};
window.onmouseup = () => {};
commit('mouseEvent', { event: 'mouseUp', x, y });
};
};
Expand Down

0 comments on commit 23864c2

Please sign in to comment.