Fix image hover activating when mousing over expanded images on ota-ch.
This commit is contained in:
parent
0de17a8e5b
commit
4ecee3fa1a
@ -199,7 +199,7 @@ SW.tinyboard =
|
|||||||
|
|
||||||
isThumbExpanded: (file) ->
|
isThumbExpanded: (file) ->
|
||||||
# Detect old Tinyboard image expansion that changes src attribute on thumbnail.
|
# 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) ->
|
isLinkified: (link) ->
|
||||||
/\bnofollow\b/.test(link.rel)
|
/\bnofollow\b/.test(link.rel)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user