This commit is contained in:
Nicolas Stepien 2012-01-19 22:21:36 +01:00
parent 25276b5aac
commit b49e110cc8
2 changed files with 2 additions and 2 deletions

View File

@ -3025,7 +3025,7 @@
thumb = this.previousSibling; thumb = this.previousSibling;
imgExpand.contract(thumb); imgExpand.contract(thumb);
src = href.split('/'); src = href.split('/');
if (src[2] === 'images.4chan.org' && (url = redirect.image(src[3], src[5]))) { if (this.src.split('/')[2] === 'images.4chan.org' && (url = redirect.image(src[3], src[5]))) {
setTimeout(imgExpand.expand, 10000, thumb, url); setTimeout(imgExpand.expand, 10000, thumb, url);
return; return;
} }

View File

@ -2342,7 +2342,7 @@ imgExpand =
thumb = @previousSibling thumb = @previousSibling
imgExpand.contract thumb imgExpand.contract thumb
src = href.split '/' src = href.split '/'
if src[2] is 'images.4chan.org' and url = redirect.image src[3], src[5] if @src.split('/')[2] is 'images.4chan.org' and url = redirect.image src[3], src[5]
setTimeout imgExpand.expand, 10000, thumb, url setTimeout imgExpand.expand, 10000, thumb, url
return return
url = href + '?' + Date.now() url = href + '?' + Date.now()