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

Fixes an uncaught ReferenceError in data-confirm-modal.js #70

Closed Finntaur closed 5 years ago

Finntaur commented 5 years ago

The variable 'current' was not introduced its scope, which resulted in an uncaught ReferenceError if a variable with that name was unavailable globally.