Thank you for sharing this great project.
How can i call leanModal inside an conditional IF?
I have an if inside an $( document ).ready(function() { if(){}}
I just try:
$( document ).ready(function() { if() { $("#submitButton").leanModal(); } }
The modal does not open, i check the files (CSS/JS) and they are declared .
Could you please provide an example, i think it is a very commom situation.