Flatsome – support lazy load images and quick view

<?php

add_action( 'wp_head', function() {
?>
<script>
(function($) {
    $(document).on('facetwp-loaded', function() {
        Flatsome.behaviors['lazy-load-images'].attach();
        Flatsome.behaviors['quick-view'].attach();
     });
})(jQuery);
</script>
<?php
}, 100 );