I'm having an issue with the foundation modal, im opening the modal with this function:
function bindAutoRevel() {
$('div[data-auto-reveal]').foundation('reveal', 'open');
}
but after closing it with the default 'close-reveal-modal' link, it doesn't open again if i click the link that fire the open action. so right now what I have done to solve the problem is this:
$('#create-project-btn').click(function() {
$('#project-modal').foundation('reveal', 'open');
});
but it should be a way to avoid this. Thanks