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: Preserve pdModal in state on replaceInitialState #23

Merged
merged 1 commit into from
May 28, 2024

Conversation

zipper
Copy link
Contributor

@zipper zipper commented May 28, 2024

When Naja calls the replaceInitialState function, we have to keep the pdModal from the current window state. This only needs to be done on the replaceInitialState call.

Closes #1

When Naja calls the `replaceInitialState` function, we have to keep the `pdModal` from the current window state. This only needs to be done on the `replaceInitialState` call.

Closes #1
@zipper zipper merged commit 8eedbba into master May 28, 2024
1 check passed
@zipper zipper deleted the 1-ajax-modal-history branch May 28, 2024 11:40
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.

Ajax modal history broken
1 participant