Webflow is blocking onClick Events

In some cases, you can experience that Webflow's templates are set up in such a way that it blocks onClick events preventing the pop-up from closing when clicking the buttons.

This is the fix

function replaceOnClick() {  $('*').each(function() {  $(this).attr('onclick', $(this).attr('onclick'));});}$(window).bind("load", function () {  replaceOnClick();});
Did this answer your question?