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