humaan / Modaal

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

callback / before / after events broken #119

Open hirschferkel opened 5 years ago

hirschferkel commented 5 years ago

It seems that the events are broken. If one chooses the demo e.g. for confirmation on http://humaan.com/modaal/ There is no alert in neither browser. Same thing relates to after_close:

Any idea how to get it work? In console there is a message cancel callback fired on canceling, but no alert like it should (alert('you have cancelled this action').

hirschferkel commented 5 years ago

It is only a missmatching code in the sourcecode of the page, which does not match the code displayed on the website.