From f3b7fdf6d58128b832001d53f475635e2d1db2c7 Mon Sep 17 00:00:00 2001 From: Dominic Szablewski Date: Fri, 5 Feb 2016 03:32:48 +1300 Subject: [PATCH] Fix #26 --- client/jsmpg-vnc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/jsmpg-vnc.js b/client/jsmpg-vnc.js index 43d2acd..3132f9c 100644 --- a/client/jsmpg-vnc.js +++ b/client/jsmpg-vnc.js @@ -65,8 +65,8 @@ var sendMouse = function(ev, action) { var p = ev.changedTouches ? ev.changedTouches[0] : ev; // FUCK, DID I MENTION I LOOOOOVE VENDOR PREFIXES? SO USEFUL! - x = p.movemenX || p.mozMovementX || p.webkitMovementX; - y = p.movemenY || p.mozMovementY || p.webkitMovementY; + x = p.movementX || p.mozMovementX || p.webkitMovementX; + y = p.movementY || p.mozMovementY || p.webkitMovementY; if( typeof x === 'undefined' ) { x = p.clientX - lastMouse.x;