<commit_before>$(function() {
   
    var sldContainer = $(".slider-container");
    var prevBtn = $(".slider-arrow-left");
    var nextBtn = $(".slider-arrow-right");
    var sliderElms = $(".slider-container").find(".slider-item-wrapper");
    var currentImg = sliderElms.filter(".active");
    var nextImg = sliderElms.filter(":not('.active')");
    var galleryBackgnd = $(".big-gallery-item");
    var galleryCounter = 0;
    var toTopArrow = $(".to-top-container");
    var menuGalBtn = $(".main-menu-gallery");
    var menuGalGrd = $(".main-gallery-grid");
    var mobileGalBtn = $(".mobile-display")
    var sldGalInfWrp = $(".slider-gallery-info-wrapper");
    var hmbgMenu = $(".mobile-hamburger-menu");
    var mainMenuWrp = $(".main-menu-wrapper");
    var infiniteSld = setInterval(sliderChange, 5000);
    console.log(mobileGalBtn);
    console.log(menuGalBtn);
    
    
    function menuGalMvmnt() {
        
        menuGalBtn.on("click", function(e) {
            e.stopImmediatePropagation();
            menuGalGrd.fadeToggle(2000);
            if(sldGalInfWrp.hasClass("blurDown") == false) {
                sldGalInfWrp.removeClass("blurUp").addClass("blurDown");
            } else {
                sldGalInfWrp.removeClass("blurDown").addClass("blurUp");
            }
        });        
    }
    
    menuGalMvmnt();
    
    
    function mobileGalMvmnt() {
        mobileGalBtn.on("click", function(e) {
            e.stopImmediatePropagation();
            
            //Jak zniknąć poszczególne elementy menu?
            //Jak uzyskać efekt pojawiania się/znikania?
            sldGalInfWrp.css("display", "none");
        });
    }
    
    mobileGalMvmnt();
    
    
    
    function galleryPainter() {
        galleryBackgnd.each(function(galleryCounter) {
            galleryCounter++;
            if(galleryCounter % 2 == 1) {
                $(this).addClass("odd-item-bColor");
            }
        });
    }
    
    galleryPainter();
    
    
    function mainMenuSliding() {
        hmbgMenu.on("click", function(e) {<commit_msg>tests and changes to the mobile gallery JS functionality<commit_after>$(function() {
   
    var sldContainer = $(".slider-container");
    var prevBtn = $(".slider-arrow-left");
    var nextBtn = $(".slider-arrow-right");
    var sliderElms = $(".slider-container").find(".slider-item-wrapper");
    var currentImg = sliderElms.filter(".active");
    var nextImg = sliderElms.filter(":not('.active')");
    var galleryBackgnd = $(".big-gallery-item");
    var galleryCounter = 0;
    var toTopArrow = $(".to-top-container");
    var menuGalBtn = $(".main-menu-gallery");
    var menuGalGrd = $(".main-gallery-grid");
    var sldGalInfWrp = $(".slider-gallery-info-wrapper");
    var hmbgMenu = $(".mobile-hamburger-menu");
    var mainMenuWrp = $(".main-menu-wrapper");
    var infiniteSld = setInterval(sliderChange, 5000);
    
    
    function menuGalMvmnt() {
        
        menuGalBtn.on("click", function(e) {
            e.stopImmediatePropagation();
            
            if($(window).width() < 800) {
                menuGalGrd.fadeToggle(1000);
                sldGalInfWrp.css("display", "none");
            } else {
                menuGalGrd.fadeToggle(2000);
                if(sldGalInfWrp.hasClass("blurDown") == false) {
                    sldGalInfWrp.removeClass("blurUp").addClass("blurDown");
                } else {
                    sldGalInfWrp.removeClass("blurDown").addClass("blurUp");
                }
            }
        });        
    }
    
    menuGalMvmnt();
    
    
    
    function galleryPainter() {
        galleryBackgnd.each(function(galleryCounter) {
            galleryCounter++;
            if(galleryCounter % 2 == 1) {
                $(this).addClass("odd-item-bColor");
            }
        });
    }
    
    galleryPainter();
    
    
    function mainMenuSliding() {
        hmbgMenu.on("click", function(e) {
{'fraction_non_alphanumeric': 0.15217391304347827, 'fraction_numerical': 0.007330637007077857, 'mean_word_length': 2.096244131455399, 'pattern_counts': {'":': 2, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1258854', 'n_tokens_mistral': 1292, 'n_tokens_neox': 1197, 'n_words': 181}