Hide at the end.

This commit is contained in:
Nicolas Stepien 2011-09-22 20:26:26 +02:00
parent 79b0c85d72
commit 3333bfe488
2 changed files with 2 additions and 2 deletions

View File

@ -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() {

View File

@ -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: ->