From 742a3473a62c772e37cbd8113e370c1db53d3b25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20Tisza?= Date: Mon, 6 Jul 2015 10:44:16 -0700 Subject: [PATCH] Replace webkitMovementX with movementX Bug: T104758 Bug: T77869 Change-Id: Ied88588a3db3a773b02799568da71ecd6c66a2fd --- resources/mmv/mmv.lightboxinterface.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/mmv/mmv.lightboxinterface.js b/resources/mmv/mmv.lightboxinterface.js index 6d6a2d194..87db34250 100644 --- a/resources/mmv/mmv.lightboxinterface.js +++ b/resources/mmv/mmv.lightboxinterface.js @@ -416,12 +416,12 @@ * @param {jQuery.Event} e The mousemove event object */ LIP.mousemove = function ( e ) { - // This is a fake mousemove event triggered by Chrome, ignore it + // T77869 ignore fake mousemove events triggered by Chrome if ( e && e.originalEvent - && e.originalEvent.webkitMovementX === 0 - && e.originalEvent.webkitMovementY === 0 + && e.originalEvent.movementX === 0 + && e.originalEvent.movementY === 0 ) { return; }