Fix tests on Firefox.

This commit is contained in:
Antoine Vandecreme 2016-08-11 14:45:21 +02:00
parent 0c43d76ed0
commit bbf354b6b6

View File

@ -761,7 +761,7 @@
var epsilon = 0.0000001; var epsilon = 0.0000001;
function simulateClickAndDrag() { function simulateClickAndDrag() {
$canvas.simulate( 'focus', event ); $canvas.simulate('focus');
// Drag to pan // Drag to pan
Util.simulateViewerClickWithDrag( { Util.simulateViewerClickWithDrag( {
viewer: viewer, viewer: viewer,
@ -780,7 +780,7 @@
dragDx: 0, dragDx: 0,
dragDy: 0 dragDy: 0
} ); } );
$canvas.simulate( 'blur', event ); $canvas.simulate('blur');
} }
var onOpen = function() { var onOpen = function() {