$(function() {
	if(sessionStorage.getItem("openMenu") === null){
		sessionStorage.setItem("openMenu", "yes" );
	}
	if(sessionStorage.getItem("openMenu") == "yes"){
			$(".mainmenu").slideDown();
	}
	$("#menu-toggle").click(function() {
		$(".mainmenu").slideToggle();
			if(sessionStorage.getItem("openMenu") == "yes"){
					sessionStorage.setItem("openMenu", "no" );
				} else {
						sessionStorage.setItem("openMenu", "yes" );
				}
	});
});

@@ -13,428 +13,76 @@
  %7B%0A%09
-if(sessionStorage.getItem(%22openMenu%22) === null)%7B%0A%09%09sessionStorage.setItem(%22openMenu%22, %22yes%22 );%0A%09%7D%0A%09if(sessionStorage.getItem(%22openMenu%22) == %22yes%22)%7B%0A%09%09%09$(%22.mainmenu%22).slideDown();%0A%09%7D%0A%09$(%22#menu-toggle%22).click(function() %7B%0A%09%09$(%22.mainmenu%22).slideToggle();%0A%09%09%09if(sessionStorage.getItem(%22openMenu%22) == %22yes%22)%7B%0A%09%09%09%09%09sessionStorage.setItem(%22openMenu%22, %22no%22 );%0A%09%09%09%09%7D else %7B%0A%09%09%09%09%09%09sessionStorage.setItem(%22openMenu%22, %22yes%22 );%0A%09%09%09%09%7D
+$(%22#menu-toggle%22).click(function() %7B%0A%09%09$(%22.mainmenu%22).slideToggle();
 %0A%09%7D)
@@ -86,9 +86,8 @@
 %09%7D);%0A%7D);
-%0A

Revert "menü merkt sich nun auch nach page reload ob es geöffnet war"