Woops, don't copypaste.

This commit is contained in:
Nicolas Stepien 2011-10-28 00:15:38 +02:00
parent 3fc5d1fabd
commit cd9cd82292
2 changed files with 3 additions and 6 deletions

View File

@ -2810,10 +2810,8 @@
return imgPreloading.preload(thumb);
},
preload: function(thumb) {
var el, src;
src = thumb.parentNode.href;
return el = $.el('img', {
src: src
return $.el('img', {
src: thumb.parentNode.href
});
}
};

View File

@ -2065,8 +2065,7 @@ imgPreloading =
return unless imgPreloading.on and thumb = $ 'img[md5]:last-child', root
imgPreloading.preload thumb
preload: (thumb) ->
src = thumb.parentNode.href
el = $.el 'img', { src }
$.el 'img', src: thumb.parentNode.href
imgGif =
init: ->