FacetWP – avada content disappearing fix

<?php

// Add to your (child) theme's functions.php
add_action( 'wp_footer', function() {
?>
<script>
(function($) {
    $(document).on('facetwp-loaded', function() {
        $('.fusion-portfolio-content-wrapper').fadeTo('fast', 1);
    });
})(jQuery);
</script>
<?php
}, 100 );