Hi! I discovered a (minor) bug with Squarespace but they aren't sure when or if they'll fix, so hoping someone here might have an idea of code I could use to solve the issue.
I'm using the York template with lightboxes enabled with a gallery grid page. When I click to expand the lightbox, everything works great, but if I hit the back button on the broswer to go back to the homepage (or any previous page), the lightbox remains open.
Is there a way to have the lightbox automatically close when the browser navigates to a new page? It's not a huge issue, but also one I'm hoping wouldn't be too hard to code around.
Here's my site: jake-naughton.squarespace.com