diff --git a/index.html b/index.html index 359fb72..9fe0da7 100644 --- a/index.html +++ b/index.html @@ -99,8 +99,8 @@ function openMenu() { $(function(){ if ( $("#rightmenu").attr("data-open") != "true" ) { + $("rightmenu").css("display", "inline"); $("#rightmenu").animate({left: "-=" + $("#rightmenu").css("width")}, 1000); - $("rightmenu").css("display", "initial"); $("#rightmenu").attr("data-open", "true"); } });