Lightgallery: Hashtag Icon Replication Bug

Created on 3 Jul 2016  路  8Comments  路  Source: sachinchoolur/lightGallery

You can see the issue here:
http://twofold.fuelthemes.net/collection/collection-2/

Please open the first image, which will change the url. After that, refresh the page. Now the icons are replicated.

bug

All 8 comments

I'm facing a similar issue at the moment (site offline so can't provide a working demo). I believe I may have tracked down the issue though. In lightgallery.js v1.2.21 on line 159 the line $('body').addClass('lg-on'); needs to be moved down a line so it's outside the setTimeout function. That way the check against 'lg-on' on line 171 works as expected. Fixed the issue for me anyway, hope that helps!

That fix works for me, too @a1studmuffin! thanks for sharing it.

@sachinchoolur Could you integrate this as a hot fix?

Offcourse I will make this hotfix guys ;)

Generating the build :+1:

@anteksiler could you update and test if it's working right now?

@abnersajr Yeap, it fixes the bug :)

Awesome, thanks guys! :D

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ALTELMA picture ALTELMA  路  4Comments

lyhongpon picture lyhongpon  路  4Comments

aitormendez picture aitormendez  路  4Comments

KomalDivate picture KomalDivate  路  4Comments

shamw4r picture shamw4r  路  5Comments