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

Fix `false` class added to modal #90

Closed tagliala closed 3 years ago

tagliala commented 3 years ago

When modalClass is not specified, custom class should not be applied

Fix: #89

tagliala commented 3 years ago

Tested on BS3/Rails4.2/jQuery 1 and BS4/Rails6.1/jQuery 3

This may be considered a breaking change, so we should bump the major version number just in case