Open Gawrion opened 3 years ago
Quick (but i don't know if not also buggy) workaround is to .removeData and remove event handler (.off) from element before settin new instance:
$('#smietnik-btn-1').removeData();
$('#smietnik-btn-1').off();
$('#smietnik-btn-1').confirmation(confirmOptions2);
Hi Mistic!
jQuery 3.6.0, Bootstrap 4.3.1, popper 1.14.7 Bootstrap Confirmation 4.2.1
After using dispose method on created instance its not possible to initialize new instance of confirmation. Example of bug: