<commit_before>$(document).ready(function(){
	var h_header = $('#header').outerHeight();
	$('#content').css('margin-top',h_header);
	$('.popup-compare').css('margin-top',-h_header);
	
		$('.toogle-menu').click(function(event){
		$(this).parents('.main-menu').find('ul').slideToggle();
		event.preventDefault();
		event.stopPropagation();
	});
	
	$("a").click(function(event) {
    $(this).parents('.main-menu').find('ul').slideUp();
  });
  
	
});
$(document).load(function(){
	
});
$(document).resize(function(){
	var h_header = $('#header').outerHeight();
	$('#content').css('margin-top',h_header);
});
  
 $(document).click(function(){
     $('.main-menu').find('ul').slideUp();
});
  <commit_msg>Fixed menu navigation disappearing bug<commit_after>$(document).ready(function(){
	var h_header = $('#header').outerHeight();
	$('#content').css('margin-top',h_header);
	$('.popup-compare').css('margin-top',-h_header);
	
		$('.toogle-menu').click(function(event){
		$(this).parents('.main-menu').find('ul').slideToggle();
		event.preventDefault();
		event.stopPropagation();
	});
	
});
$(document).load(function(){
	
});
$(document).resize(function(){
	var h_header = $('#header').outerHeight();
	$('#content').css('margin-top',h_header);
});
  
 $(document).click(function(){
 	console.log($(document).width());
 	if($(document).width() < 760){
     $('.main-menu').find('ul').slideUp();
 }
});
  
{'fraction_non_alphanumeric': 0.2825464949928469, 'fraction_numerical': 0.002145922746781116, 'mean_word_length': 5.661904761904762, 'pattern_counts': {'":': 0, '<': 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': '1455858', 'n_tokens_mistral': 476, 'n_tokens_neox': 462, 'n_words': 45}