fix selection of gallery image by clicking thumbnail
This commit is contained in:
parent
582992a093
commit
c1ce19c809
@ -77,7 +77,7 @@ Gallery =
|
|||||||
nodes.current.parentElement.scrollTop = 0
|
nodes.current.parentElement.scrollTop = 0
|
||||||
|
|
||||||
Gallery.cb.open.call if image
|
Gallery.cb.open.call if image
|
||||||
$ "[href='#{image.href.replace /https?:/, ''}']", nodes.thumbs
|
$ "[href='#{image.href}']", nodes.thumbs
|
||||||
else
|
else
|
||||||
Gallery.images[0]
|
Gallery.images[0]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user