Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i call leanModal inside an conditional IF? #58

Open
amrigo opened this issue Jun 21, 2016 · 0 comments
Open

How can i call leanModal inside an conditional IF? #58

amrigo opened this issue Jun 21, 2016 · 0 comments

Comments

@amrigo
Copy link

amrigo commented Jun 21, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant