diff --git a/src/Miscellaneous/ExpandComment.coffee b/src/Miscellaneous/ExpandComment.coffee index 1790b55b8..32fa96156 100755 --- a/src/Miscellaneous/ExpandComment.coffee +++ b/src/Miscellaneous/ExpandComment.coffee @@ -36,7 +36,7 @@ ExpandComment = a.textContent = "Error #{req.statusText} (#{status})" return - posts = req.response + posts = req.response.posts if spoilerRange = posts[0].custom_spoiler Build.spoilerRange[g.BOARD] = spoilerRange