Forgot to specify the index here.

This commit is contained in:
ccd0 2019-08-04 19:25:24 -07:00
parent 5c6e8e15bd
commit 5c59ecf0ab

View File

@ -58,7 +58,7 @@ ImageCommon =
threadJSON = g.SITE.urls.threadJSON?(post)
return unless threadJSON
$.ajax threadJSON, onloadend: ->
post.kill !post.isClone if @status is 404
post.kill !post.isClone, fileObj.index if @status is 404
return redirect() if @status isnt 200
for postObj in @response.posts
break if postObj.no is post.ID