mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-31 23:21:42 +03:00
Always clear the image load timeout job.
This commit is contained in:
parent
bebc7a64ff
commit
5c74c7b415
@ -7995,11 +7995,11 @@ $.Drawer.prototype = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
image.onload = function(){
|
image.onload = function(){
|
||||||
finishLoadingImage( image, complete, true );
|
finishLoadingImage( image, complete, true, jobid );
|
||||||
};
|
};
|
||||||
|
|
||||||
image.onabort = image.onerror = function(){
|
image.onabort = image.onerror = function(){
|
||||||
finishLoadingImage( image, complete, false );
|
finishLoadingImage( image, complete, false, jobid );
|
||||||
};
|
};
|
||||||
|
|
||||||
jobid = window.setTimeout( function(){
|
jobid = window.setTimeout( function(){
|
||||||
|
@ -311,11 +311,11 @@ $.Drawer.prototype = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
image.onload = function(){
|
image.onload = function(){
|
||||||
finishLoadingImage( image, complete, true );
|
finishLoadingImage( image, complete, true, jobid );
|
||||||
};
|
};
|
||||||
|
|
||||||
image.onabort = image.onerror = function(){
|
image.onabort = image.onerror = function(){
|
||||||
finishLoadingImage( image, complete, false );
|
finishLoadingImage( image, complete, false, jobid );
|
||||||
};
|
};
|
||||||
|
|
||||||
jobid = window.setTimeout( function(){
|
jobid = window.setTimeout( function(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user