Open dusanstojanovic opened 4 years ago
Hi @dusanstojanovic
You were on the right track in your pen yet needed a minor syntax tweak and to reference a different selector in the click event. Try this:
$('.close').click(function(){
$('.modaal').modaal('close');
});
I can't for the life of me figure out how to close the modal. The pen is here: https://codepen.io/stdusan/pen/jOPepGg