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

modal-close does not work after ajax-response #184

Open
ghost opened this issue Apr 4, 2015 · 2 comments
Open

modal-close does not work after ajax-response #184

ghost opened this issue Apr 4, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 4, 2015

Hello! Please help, why a.modal-close does not work after ajax-response, what could be wrong? Or how close?
Code here

It's does't help me(

<script>
        $(function(){
            $('.modal-close').click(function(){
                window.location.href = '#!';
            })
        })
    </script>

2015-04-04_08 58 39

@ghost
Copy link
Author

ghost commented Apr 4, 2015

on some old release, it worked

@drublic
Copy link
Owner

drublic commented Oct 4, 2015

On master in index.html all modals are loaded via ajax and the modal closes perfectly. Can you please try with the current version?
Can you please also provide a reduced test case for this behavior?

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

No branches or pull requests

1 participant