ifad / data-confirm-modal

Makes Rails' link_to confirm: 'foo' build a Bootstrap Modal instead of calling the browser's confirm() API.
MIT License
271 stars 115 forks source link

Allow only single click on data confirm button #96

Closed brijeshmc closed 4 months ago

brijeshmc commented 2 years ago

Made use of JQuery one() method to make sure only one event is triggered on click of confirm button.

Reference - https://api.jquery.com/one/

vjt commented 4 months ago

I love one character changes that fix stuff. Thanks @brijeshmc !