Fix ImageExpand/Hover's error handling xhring the wrong URL.

This commit is contained in:
Mayhem 2014-02-11 09:38:14 +01:00
parent 871cdfe0c9
commit c685b0a5d6
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ ImageExpand =
timeoutID = setTimeout ImageExpand.expand, 10000, post
<% if (type === 'crx') { %>
$.ajax @src,
$.ajax post.file.URL,
onloadend: ->
return if @status isnt 404
clearTimeout timeoutID

View File

@ -48,7 +48,7 @@ ImageHover =
timeoutID = setTimeout (=> @src = post.file.URL + '?' + Date.now()), 3000
<% if (type === 'crx') { %>
$.ajax @src,
$.ajax post.file.URL,
onloadend: ->
return if @status isnt 404
clearTimeout timeoutID