From bbf354b6b634fa5070cbef169fbca5d5a765ffde Mon Sep 17 00:00:00 2001 From: Antoine Vandecreme Date: Thu, 11 Aug 2016 14:45:21 +0200 Subject: [PATCH] Fix tests on Firefox. --- test/modules/events.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/modules/events.js b/test/modules/events.js index ccfbab26..7e681d05 100644 --- a/test/modules/events.js +++ b/test/modules/events.js @@ -761,7 +761,7 @@ var epsilon = 0.0000001; function simulateClickAndDrag() { - $canvas.simulate( 'focus', event ); + $canvas.simulate('focus'); // Drag to pan Util.simulateViewerClickWithDrag( { viewer: viewer, @@ -780,7 +780,7 @@ dragDx: 0, dragDy: 0 } ); - $canvas.simulate( 'blur', event ); + $canvas.simulate('blur'); } var onOpen = function() {