diff --git a/src/Images/Gallery.coffee b/src/Images/Gallery.coffee index 9a6353535..c1ff9a1dd 100644 --- a/src/Images/Gallery.coffee +++ b/src/Images/Gallery.coffee @@ -128,7 +128,7 @@ Gallery = {nodes} = Gallery {name} = nodes - $.rmClass el, 'gal-highlight' if el = $ '.gal-highlight', Gallery.thumbs + $.rmClass el, 'gal-highlight' if el = $ '.gal-highlight', nodes.thumbs $.addClass @, 'gal-highlight' elType = 'img'