Open ihortymoshenko opened 10 years ago
I'd change the first part (line 89-91) to
if (!this.$el.is($(event.target)) || !this.options.allowCancel) {
return;
}
Otherwise the option "allowCancel:false" could be circumvented by clicking on the backdrop
Hello!
Bootstrap 3 no longer triggers the click event on the backdrop. This PR fixes the bug.
Thanks!