Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function elementor_frontend_js(){ ?>
- <script>
- (function($) {
- "use strict";
- // detects when the ajax request has finished and the content has been updated
- // re-init the layout scripts from Elementor
- $(document).on("sf:ajaxfinish", ".searchandfilter", function() {
- elementorFrontend.init();
- });
- }(jQuery));
- </script>
- <?php }
- add_action( 'wp_footer', 'elementor_frontend_js' ); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement