Fix ImageExpand/Hover's error handling xhring the wrong URL.
This commit is contained in:
parent
871cdfe0c9
commit
c685b0a5d6
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user