<?php
// Add to your (child) theme's functions.php file
add_action( 'wp_head', function() {
?>
<script>
(function($) {
$(document).on('facetwp-refresh', function() {
if (! FWP.loaded) {
FWP.setHash = function() { /* empty */ }
}
});
})(jQuery);
</script>
<?php
}, 100 );