A modal is being triggered when the div is clicked but since there is a button within the div, the button gets clicked instead of the modal opening. How can i disable the button functionality and have the modal open?
<div class="pic-info" data-remodal-target="modal">
<button class="like-picture"></button>
</div>
Aucun commentaire:
Enregistrer un commentaire