mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
Fix tests on Firefox.
This commit is contained in:
parent
0c43d76ed0
commit
bbf354b6b6
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user