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;
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() {