From a639f9c95bee674a8d562baf087e76e6dd1dd35d Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Thu, 15 May 2014 09:26:55 +0100 Subject: [PATCH] Update index.html --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 9fe0da7..75979b5 100644 --- a/index.html +++ b/index.html @@ -99,7 +99,7 @@ function openMenu() { $(function(){ if ( $("#rightmenu").attr("data-open") != "true" ) { - $("rightmenu").css("display", "inline"); + $("#rightmenu").css("display", "inline"); $("#rightmenu").animate({left: "-=" + $("#rightmenu").css("width")}, 1000); $("#rightmenu").attr("data-open", "true"); } @@ -110,7 +110,7 @@ $(function(){ if ( $("#rightmenu").attr("data-open") != "false" ) { $("#rightmenu").animate({left: "+=" + $("#rightmenu").css("width")}, 1000); - $("rightmenu").css("display", "none"); + $("#rightmenu").css("display", "none"); $("#rightmenu").attr("data-open", "false"); } });