Forked from dislokacia/Hide Listing Grid widget before filtering
Last active
October 17, 2022 11:01
-
-
Save Crocoblock/a6478cb38ef12785d65b6be80c965672 to your computer and use it in GitHub Desktop.
Hide Listing Grid widget before filtering
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
| .hide-listing { | |
| visibility: hidden; | |
| height: 0; | |
| } |
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
| jQuery( document ).ready(function( $ ) { | |
| $( document ).on( 'jet-filter-content-rendered', function() { | |
| $( '.hide-listing' ).removeClass( 'hide-listing' ); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment