mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-20 09:41:45 +03:00
Set loading to false when job is aborted
This commit is contained in:
parent
55ea2c3b51
commit
6bf3b8d7d4
@ -883,6 +883,9 @@ function loadTile( tiledImage, tile, time ) {
|
|||||||
crossOriginPolicy: tiledImage.crossOriginPolicy,
|
crossOriginPolicy: tiledImage.crossOriginPolicy,
|
||||||
callback: function( image ){
|
callback: function( image ){
|
||||||
onTileLoad( tiledImage, tile, time, image );
|
onTileLoad( tiledImage, tile, time, image );
|
||||||
|
},
|
||||||
|
abort: function() {
|
||||||
|
tile.loading = false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user