func.js 1008 Bytes
$(function(){
    $(".review-image-modal").fancybox({
        buttons: [
            "zoom",
            "fullScreen",
            "download",
            "thumbs",
            "close"
        ]
    });

    $('.header .header__burger').click(function(){
        var this_btn = $(this);
        var wrap = this_btn.closest('.header');

        wrap.toggleClass('active-menu');
    });

    $('body').click(function(e){
        var target = $(e.target);

        if (!target.hasClass('.header__burger') && target.closest('.header__burger').length === 0){
            $('header.header').removeClass('active-menu');
        }
    });
});


var spinStart = function(button) {
    button.prop('disabled', true);
    if (!button.find('.button-loader').length){
        button.html('<div class="button-loader"></div>' + button.html());
    }
};

var spinStop= function(button) {
    button.prop('disabled', false);
    button.find('.button-loader').remove();
};

var cl = function(obj){
    console.log(obj);
}