oitozero / ngSweetAlert

AngularJS wrapper for SweetAlert
MIT License
616 stars 160 forks source link

Overrides were merging into default SweetAlertConfig #88

Open ikeblaster opened 5 years ago

ikeblaster commented 5 years ago

Introduced in e39ce7587c116e93f974f95dafbe94bea19c9b21

Bug example:

SweetAlert.swal({
    title: "should have cancel button and has"
    showCancelButton: true
}, callback);

SweetAlert.swal({
    title: "shouldn't have cancel button but has"
}, callback);