_header_menu.js 795 Bytes
import { Responsive } from "./_responsive";

var HeaderMenu = (function() {

    return {
        alignTheSideCaptions:function() {
            jQuery('.side-caption').each(function() {
                var that = this;
                var _bottom = jQuery(this).find('.image-side-caption').innerHeight();
         
                    jQuery(this).css('bottom', -_bottom);
                    setTimeout(function() {
                        jQuery(that).addClass('ready');
                    }, 500);
                
            });
        }
    }

})();





jQuery(function($) {



    setInterval(function() {
        HeaderMenu.alignTheSideCaptions();
    }, 1000);

    $('.copy-link').on('click', function(e) {
        e.preventDefault();
        
    });



});

export { HeaderMenu };