FacetWP – trigger Envira Gallery on ajax refresh

mgibbs189

{{gist file=”functions.php” lang=”php”}}

(function($) {
$(document).on(‘facetwp-loaded’, function() {
$(document).trigger(‘envira_load’);
});
})(jQuery);

<?php
}, 100 );
{{/gist}}