Created
May 14, 2019 19:39
-
-
Save chriswagoner/f4b1d1dafc51cf987206bec9282058be to your computer and use it in GitHub Desktop.
Add a class to the active checkbox in Toolset after the AJAX filter runs.
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
jQuery( document ).on( 'js_event_wpv_parametric_search_form_updated', function active_label(){ | |
jQuery('input[checked=checked]').parent().addClass('active'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment