Link prevent default
-
If you add a link to open the modal, if you set the link to an empty hash like
#, the page scrolls to the top when the modal opens. I think thatevent.preventDefault()should be used on any selector that opens the modal.Also noticed that the demo site is down (https://light-modal-block.cloudcatch.io/). Is this plugin still in active development?
You must be logged in to reply to this topic.