css-modal
css-modal copied to clipboard
modal-close does not work after ajax-response
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>
on some old release, it worked
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?