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

Fix info button on first page display #26

Merged
merged 1 commit into from Dec 13, 2023
Merged

Conversation

moy
Copy link
Contributor

@moy moy commented Dec 2, 2022

The info button's target was set in update_picture(), which is called when the picture changes. As a consequence, the button was inactive before the first image change.

Fix this by setting an initial href value for the button when loading the page.

@moy
Copy link
Contributor Author

moy commented Dec 15, 2022

Ping @plegall , this PR is rather straightforward and fixes a real bug with the plugin.

The info button's target was set in update_picture(), which is called
when the picture changes. As a consequence, the button was inactive
before the first image change.

Fix this by setting an initial href value for the button when loading
the page.

Fixes Piwigo#23.
@moy
Copy link
Contributor Author

moy commented Feb 25, 2023

While I see you're reviewing other PRs here, another ping @plegall . I've just added the Fixes #23 mention in the commit message to properly close the bug when the PR is merged.

@plegall plegall merged commit b4ac848 into Piwigo:master Dec 13, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants