vodkabears / Remodal

No longer actively maintained.
http://vodkabears.github.io/remodal/
MIT License
2.75k stars 771 forks source link

Options not working during JavaScript initialisation #149

Closed tomhalley closed 9 years ago

tomhalley commented 9 years ago

I'm using the current code to create my modal in javascript:

var modal = $('[data-remodal-id=register]').remodal({
    hashTracking: false,
    closeOnConfirm: false,
    closeOnCancel: false,
    closeOnEscape: false,
    closeOnOutsideClick: false
});

However none of these options seem to have any effect. The modal shows up still with an X in the corner which closes it, and clicking the background still closes the modal.

tomhalley commented 9 years ago

Realised we were using an older version of the library (0.6.4)