Hide at the end.
This commit is contained in:
parent
79b0c85d72
commit
3333bfe488
@ -2719,7 +2719,6 @@
|
|||||||
},
|
},
|
||||||
expand: function(thumb) {
|
expand: function(thumb) {
|
||||||
var a, filesize, img, max, _, _ref;
|
var a, filesize, img, max, _, _ref;
|
||||||
thumb.hidden = true;
|
|
||||||
a = thumb.parentNode;
|
a = thumb.parentNode;
|
||||||
img = $.el('img', {
|
img = $.el('img', {
|
||||||
src: a.href
|
src: a.href
|
||||||
@ -2736,6 +2735,7 @@
|
|||||||
return setTimeout(imgExpand.expand, 1000, thumb);
|
return setTimeout(imgExpand.expand, 1000, thumb);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
thumb.hidden = true;
|
||||||
return $.add(a, img);
|
return $.add(a, img);
|
||||||
},
|
},
|
||||||
dialog: function() {
|
dialog: function() {
|
||||||
|
|||||||
@ -2014,7 +2014,6 @@ imgExpand =
|
|||||||
$.rm thumb.nextSibling
|
$.rm thumb.nextSibling
|
||||||
|
|
||||||
expand: (thumb) ->
|
expand: (thumb) ->
|
||||||
thumb.hidden = true
|
|
||||||
a = thumb.parentNode
|
a = thumb.parentNode
|
||||||
img = $.el 'img',
|
img = $.el 'img',
|
||||||
src: a.href
|
src: a.href
|
||||||
@ -2027,6 +2026,7 @@ imgExpand =
|
|||||||
imgExpand.contract thumb
|
imgExpand.contract thumb
|
||||||
unless g.dead
|
unless g.dead
|
||||||
setTimeout imgExpand.expand, 1000, thumb
|
setTimeout imgExpand.expand, 1000, thumb
|
||||||
|
thumb.hidden = true
|
||||||
$.add a, img
|
$.add a, img
|
||||||
|
|
||||||
dialog: ->
|
dialog: ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user