Work around Chrome/Chromium not firing mouseover on the thumbnail.
This commit is contained in:
parent
24e5676717
commit
cb50f17567
@ -142,8 +142,12 @@ ImageExpand =
|
|||||||
$.off el, eventName, cb
|
$.off el, eventName, cb
|
||||||
ImageCommon.rewind post, el
|
ImageCommon.rewind post, el
|
||||||
delete file.fullImage
|
delete file.fullImage
|
||||||
$.rm el
|
$.queueTask ->
|
||||||
$.rmClass el, 'full-image'
|
# XXX Work around Chrome/Chromium not firing mouseover on the thumbnail.
|
||||||
|
return if file.isExpanding or file.isExpanded
|
||||||
|
$.rmClass el, 'full-image'
|
||||||
|
return if el.id
|
||||||
|
$.rm el
|
||||||
|
|
||||||
expand: (post, src) ->
|
expand: (post, src) ->
|
||||||
# Do not expand images of hidden/filtered replies, or already expanded pictures.
|
# Do not expand images of hidden/filtered replies, or already expanded pictures.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user