Fixed Lightbox throwing console error

Kevin

Well-known member
Affected version
2.0
I don't know if this is an implementation related issue (XF) or if a 'it's-harmless-and-can-be-ignored' 3rd party issue (LightGallery used for lightbox viewing) but I noticed that when viewing attachments in the lightbox and then closing the lightbox an error is getting thrown into the console.

To see in action, view this post, click on the the thumbnail, click the 'X', and an error will be in the console.

191378


Since it's happening also in the 2.0.x branch my guess is it's a harmless item being tossed from the 3rd party library but I just happened to notice it while debugging a 2.1 add-on.
 
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.0 B7/RC1).

Change log:
Workaround a lightGallery issue which causes an error to be logged when exiting the lightbox while not in full screen mode.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Back
Top Bottom