Skip to content
New issue

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

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

Already on GitHub? # to your account

Goes to link automatically without waiting for the confirmation. #566

Open
EliMariaaaa opened this issue Dec 1, 2022 · 1 comment
Open

Comments

@EliMariaaaa
Copy link

jquery-confirm version:
v3.x.x

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request

Current behavior:

Upon link click, the pop up appears but the link is triggered at the same time. It's not waiting for the confirm button to be triggered.

Expected behavior:

The redirection should not take place unless the confirmation button is clicked.

Steps to reproduce:

Related code:

insert any relevant code here

Other information:
https://www.loom.com/share/68542ff3b61849d0bdeb0f2d9846ae08

@IT247PRO
Copy link

This is an async function, so you have to return false after the $.confirm function

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

No branches or pull requests

2 participants