facetwp flatsome equal heights

/** for using flatsome equal heights setting
 ** see https://facetwp.com/how-to-use-hooks/#hooks-link for how to add this js 
 ** in a snippets plugin or functions.php
 **/

(function($) {
    $(document).on('facetwp-loaded', function() {
        Flatsome.attach("equalize-box", $(".facetwp-template"));
     });
})(jQuery);