Fix Quote Preview not working in catalog if post is inlined in index.

This commit is contained in:
ccd0 2016-09-21 04:29:56 -07:00
parent 785fac50a7
commit fd57ddac20

View File

@ -15,7 +15,7 @@ QuotePreview =
return
mouseover: (e) ->
return if $.hasClass(@, 'inlined') or !d.contains(@)
return if ($.hasClass(@, 'inlined') and not $.hasClass(doc, 'catalog-mode')) or not d.contains(@)
{boardID, threadID, postID} = Get.postDataFromLink @