Button disappear when using $.fn.closeModal()
Closed this issue · 0 comments
terkelg commented
I'm using adoptive-modal to show a menu on a one-page site. I wan't the modal to close when a user click on a link. I'm not sure what the best solution is. I have tried to include the .am-trigger-close
class on every link. That close the modal, but then the link doesn't work.
I have also tried to trigger $.fn.closeModal()
when clicking a link. That does work, but the button activating the modal disappear. It get display: none; visibility: visible;