cookie magic aus js/switchmenuframe.js entfernt, funktioniert nicht richtig
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 27 Sep 2012 09:58:26 +0000 (11:58 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 17 Oct 2012 14:02:51 +0000 (16:02 +0200)
js/switchmenuframe.js

index 27d0736..ed7c48f 100644 (file)
@@ -1,8 +1,7 @@
-var vSwitch_Menu = 0;
+var vSwitch_Menu = 1;
 function Switch_Menu() {
   vSwitch_Menu=!vSwitch_Menu;
   SetMenuFolded(vSwitch_Menu);
-  $.cookie('html-menu-folded', vSwitch_Menu);
 }
 function SetMenuFolded(on) {
   if (on) {
@@ -14,6 +13,5 @@ function SetMenuFolded(on) {
   }
 }
 $(function(){
-  vSwitch_Menu = $.cookie('html-menu-folded');
   SetMenuFolded(vSwitch_Menu);
 })