How to reload parent page after closing fancybox - Ybus
4470
post-template-default,single,single-post,postid-4470,single-format-standard,ajax_fade,page_not_loaded,,side_area_uncovered_from_content,qode-child-theme-ver-1.0.0,qode-theme-ver-10.0,wpb-js-composer js-comp-ver-4.12,vc_responsive

How to reload parent page after closing fancybox

How to reload parent page after closing fancybox

<script type=”text/javascript”>
$(document).ready(function() {
$(‘.fancybox’).fancybox({
‘afterClose’:function () {

window.location.reload();
}
});
});
</script>