jquery-confirm icon indicating copy to clipboard operation
jquery-confirm copied to clipboard

Goes to link automatically without waiting for the confirmation.

Open EliMariaaaa opened this issue 2 years ago • 1 comments

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

EliMariaaaa avatar Dec 01 '22 20:12 EliMariaaaa

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

IT247PRO avatar Dec 31 '22 01:12 IT247PRO