humaan / Modaal

An accessible dialog window library for all humans.
http://humaan.com/modaal/
MIT License
2.72k stars 183 forks source link

Fixed: fails opening modaal at second time with start_open:true #130

Open NishiokaTakeo opened 4 years ago

NishiokaTakeo commented 4 years ago

Hi there.

I found the an issue that an opening modaal fails when I try to open with 'start_open:true' option at second time.

$(".inline").modaal({start_open:true});

The code I made is to have ability to open more than twice.

I think this would be worth for other people.

It would be great if you can merge my changes.

Thanks.