Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when the hash in the url on the landing page changes. #276

Open
smiady opened this issue Jul 10, 2023 · 2 comments
Open

Problem when the hash in the url on the landing page changes. #276

smiady opened this issue Jul 10, 2023 · 2 comments

Comments

@smiady
Copy link

smiady commented Jul 10, 2023

Hi.

When I click on items in the menu, the hash on the url changes. Unfortunately, when the hash changes, bluegallery stops working.

This is the page where the problem occurs - http://serwer211754.lh.pl.

I tried to solve this problem using the following code:
`window.location.hash = ''

carousel_fullscreen_div.addEventListener('click', () => {
blueimp.Gallery(gallery, {
fullscreen: true
})
})`

but delete hash before start blueimp doesn't help.

Do you have any ideas to solve the problem?

@gmacev
Copy link

gmacev commented Sep 28, 2023

closeOnHashChange: false

@smiady
Copy link
Author

smiady commented Oct 13, 2023

It works! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants