From 23864c2f1c4497beb16d48eb0755f80704f4f8d4 Mon Sep 17 00:00:00 2001 From: Robert Monfera Date: Wed, 15 Aug 2018 18:59:28 +0200 Subject: [PATCH] Revert "Fix: remove event handler (#959)" This reverts commit 28c9986 --- public/components/workpad_page/event_handlers.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/public/components/workpad_page/event_handlers.js b/public/components/workpad_page/event_handlers.js index 3bf6f904eabf2..6568d784c1527 100644 --- a/public/components/workpad_page/event_handlers.js +++ b/public/components/workpad_page/event_handlers.js @@ -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 }); }; };