remove duplicated loop

This commit is contained in:
ccd0 2014-09-11 01:49:56 -07:00
parent 014af473f4
commit b7be5b7a01

View File

@ -67,7 +67,6 @@ ImageLoader =
return unless [post, post.clones...].some (clone) -> doc.contains clone.nodes.root return unless [post, post.clones...].some (clone) -> doc.contains clone.nodes.root
file.isPrefetched = true file.isPrefetched = true
if file.videoThumb if file.videoThumb
for clone in [post, post.clones...]
clone.file.thumb.preload = 'auto' for clone in post.clones clone.file.thumb.preload = 'auto' for clone in post.clones
thumb.preload = 'auto' thumb.preload = 'auto'
return return