<commit_before>var isClicked = false;

//jQuery for page scrolling feature - requires jQuery Easing plugin

// burger collapse, by adding and removing css class
$(document).ready(function () {
    $('#nav-icon1').click(function (e) {
        $("#nav-icon1").toggleClass('open');
        $(".fel-navbar").toggleClass("collapsed-nav");
        $(".main-for-transform").toggleClass("transform-main");
    });
});

$('.img-holder').imageScroll({
    speed: 0.1
});

var vid = document.getElementById("my-video");
var isplaying = true;

$(document).ready(function () {
    $('#playpause').click(function (e) {
        if (isplaying) {
            vid.pause();
            $(".play-pause").removeClass("pause");
            $(".play-pause").addClass("play");
            isplaying = false;
        } else {
            vid.play();
            $(".play-pause").removeClass("play");
            $(".play-pause").addClass("pause");
            isplaying = true;
        }
    });
});

var sections = $('section')
    , nav = $('.fel-navbar');

$(window).on('scroll', function () {
    var cur_pos = $(this).scrollTop();

    sections.each(function() {
        var top = $(this).offset().top,
            bottom = top + $(this).outerHeight();

        if (cur_pos >= top && cur_pos <= bottom) {
            nav.find('a').removeClass('active');
            nav.find('a[href="#'+$(this).attr('id')+'"]').addClass('active');
        }
    });
});

nav.find('a').on('click', function () {
    var $el = $(this)
        , id = $el.attr('href');

    $('html, body').animate({
        scrollTop: $(id).offset().top + 20
    }, 500);

    return false;
});
<commit_msg>ohne das der content verschoben wird...<commit_after>var isClicked = false;

//jQuery for page scrolling feature - requires jQuery Easing plugin

// burger collapse, by adding and removing css class
$(document).ready(function () {
    $('#nav-icon1').click(function (e) {
        $("#nav-icon1").toggleClass('open');
        $(".fel-navbar").toggleClass("collapsed-nav");
    });
});

$('.img-holder').imageScroll({
    speed: 0.1
});

var vid = document.getElementById("my-video");
var isplaying = true;

$(document).ready(function () {
    $('#playpause').click(function (e) {
        if (isplaying) {
            vid.pause();
            $(".play-pause").removeClass("pause");
            $(".play-pause").addClass("play");
            isplaying = false;
        } else {
            vid.play();
            $(".play-pause").removeClass("play");
            $(".play-pause").addClass("pause");
            isplaying = true;
        }
    });
});

var sections = $('section')
    , nav = $('.fel-navbar');

$(window).on('scroll', function () {
    var cur_pos = $(this).scrollTop();

    sections.each(function() {
        var top = $(this).offset().top,
            bottom = top + $(this).outerHeight();

        if (cur_pos >= top && cur_pos <= bottom) {
            nav.find('a').removeClass('active');
            nav.find('a[href="#'+$(this).attr('id')+'"]').addClass('active');
        }
    });
});

nav.find('a').on('click', function () {
    var $el = $(this)
        , id = $el.attr('href');

    $('html, body').animate({
        scrollTop: $(id).offset().top + 20
    }, 500);

    return false;
});

{'fraction_non_alphanumeric': 0.22045315370483773, 'fraction_numerical': 0.005511328842620943, 'mean_word_length': 2.413793103448276, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2827627', 'n_tokens_mistral': 1003, 'n_tokens_neox': 974, 'n_words': 184}