<?php
// Add to your (child) theme's functions.php
add_action( 'wp_head', function() {
?>
<script>
(function($) {
$(function() {
if ( 'undefined' !== typeof FWP && 'undefined' !== typeof FWP.hooks) {
FWP.hooks.addFilter('facetwp_map/fit_bounds', function(bool) {
return FWP.loaded; // force a default only for initial pageload
});
}
});
})(jQuery);
</script>
<?php
}, 100);