Forked from snormand27/gist:da23358fe65c6486634396faab0ee14d
Created
July 15, 2019 04:48
-
-
Save pije76/cdc0daaac474adfc9742f08c0d4d6796 to your computer and use it in GitHub Desktop.
Code used for facetWP reload page loop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
(function($) { | |
$(document).on('facetwp-refresh', function() { | |
location.reload() | |
}); | |
})(jQuery); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment