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

dialogue and iframe created twice #57

Closed
alxndr-w opened this issue Jun 27, 2024 · 3 comments
Closed

dialogue and iframe created twice #57

alxndr-w opened this issue Jun 27, 2024 · 3 comments
Labels
bug:confirmed bug Something isn't working

Comments

@alxndr-w
Copy link

I don't know why, but the dialogue (<div class="cll">...</div) on my website is created twice. It's 2x within the DOM even it's called just once:

image

This is how iframemanager is called: https://github.com/alexplusde/wenns_sein_muss/blob/fe5c6cd05fa547649ed234dae9eaac10af8017e0/fragments/wsm.js.php#L4-L25

It doesn't happen in the demo though.

@orestbida orestbida added bug Something isn't working and removed triage labels Sep 6, 2024
@orestbida
Copy link
Owner

This actually occurs when you run the plugin twice.

If you executed it n times, you'd get n nested notices, each on top of each other.

@orestbida
Copy link
Owner

Should be fixed in 1.3.0!

Feel free to re-open the issue if that's not the case.

@alxndr-w
Copy link
Author

alxndr-w commented Sep 8, 2024

Nice! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:confirmed bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants