FacetWP – disable permalink / hash

mgibbs189

{{gist file=”test.js” lang=”javascript”}}
<script>

(function($) {
$(document).on(‘facetwp-refresh’, function() {
if (! FWP.loaded) {
FWP.set_hash = function() { /* empty function */ }
}
});
})(jQuery);

</script>
{{/gist}}