From a0026bbd20fa105395780342804e9f09f4a3d01a Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Thu, 15 May 2014 09:25:25 +0100 Subject: [PATCH] Update index.html --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index 070dc22..359fb72 100644 --- a/index.html +++ b/index.html @@ -60,6 +60,7 @@ width: 15em; height: 100%; padding: 1em; + display: none; } .menutitle { @@ -99,6 +100,7 @@ $(function(){ if ( $("#rightmenu").attr("data-open") != "true" ) { $("#rightmenu").animate({left: "-=" + $("#rightmenu").css("width")}, 1000); + $("rightmenu").css("display", "initial"); $("#rightmenu").attr("data-open", "true"); } }); @@ -108,6 +110,7 @@ $(function(){ if ( $("#rightmenu").attr("data-open") != "false" ) { $("#rightmenu").animate({left: "+=" + $("#rightmenu").css("width")}, 1000); + $("rightmenu").css("display", "none"); $("#rightmenu").attr("data-open", "false"); } });