Set to retry after one second unless the thread 404'd.
This commit is contained in:
parent
f90c12dc83
commit
79b0c85d72
@ -2732,7 +2732,9 @@
|
|||||||
$.bind(img, 'error', function(e) {
|
$.bind(img, 'error', function(e) {
|
||||||
thumb = this.previousSibling;
|
thumb = this.previousSibling;
|
||||||
imgExpand.contract(thumb);
|
imgExpand.contract(thumb);
|
||||||
return imgExpand.expand(thumb);
|
if (!g.dead) {
|
||||||
|
return setTimeout(imgExpand.expand, 1000, thumb);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
return $.add(a, img);
|
return $.add(a, img);
|
||||||
},
|
},
|
||||||
|
|||||||
@ -2025,7 +2025,8 @@ imgExpand =
|
|||||||
$.bind img, 'error', (e) ->
|
$.bind img, 'error', (e) ->
|
||||||
thumb = @previousSibling
|
thumb = @previousSibling
|
||||||
imgExpand.contract thumb
|
imgExpand.contract thumb
|
||||||
imgExpand.expand thumb
|
unless g.dead
|
||||||
|
setTimeout imgExpand.expand, 1000, thumb
|
||||||
$.add a, img
|
$.add a, img
|
||||||
|
|
||||||
dialog: ->
|
dialog: ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user