Created
January 4, 2019 09:18
-
-
Save MjHead/e1ed974e56c3a2ac8eceaeb5d4d51d3a to your computer and use it in GitHub Desktop.
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
( function( $ ) { | |
$( document ).on( 'jet-filter-content-rendered', function( $scope, JetSmartFilters, provider ) { | |
// $scope - new DOM, generated by filter | |
// JetSmartFilters - JS object, contains all filters related methods and properties | |
// provider - requested content provider name | |
SmartPodcastPlayer.initialize(); | |
} ); | |
}( jQuery ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment