Fix image hover activating when mousing over expanded images on ota-ch.

This commit is contained in:
ccd0 2019-09-11 20:46:01 -07:00
parent 0de17a8e5b
commit 4ecee3fa1a

View File

@ -199,7 +199,7 @@ SW.tinyboard =
isThumbExpanded: (file) ->
# Detect old Tinyboard image expansion that changes src attribute on thumbnail.
$.hasClass file.thumb.parentNode, 'expanded'
$.hasClass(file.thumb.parentNode, 'expanded') or file.thumb.parentNode.dataset.expanded is 'true'
isLinkified: (link) ->
/\bnofollow\b/.test(link.rel)