-
-
Save djrmom/cc60c9b5e0c0ee2f2e1d68457b086c52 to your computer and use it in GitHub Desktop.
Custom Hook for refresh on sort
This file contains 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
(function($) { | |
$('.facetwp-sort')).on('change', 'select', function() { | |
FWP.refresh(); | |
}); | |
})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment