From c7bdfb72c42a1e4a3af5202b258a185a03ccc64f Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Thu, 15 May 2014 17:07:39 +0100 Subject: [PATCH] Small change to JQuery code to fix a bug. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 2d90eb3..3a1c815 100644 --- a/index.html +++ b/index.html @@ -124,10 +124,10 @@ function closeMenu() { $(function(){ if ( $("#rightmenu").attr("data-open") != "false" ) { + $("#rightmenu").attr("data-open", "false"); $("#rightmenu").animate({left: "+=" + $("#rightmenu").css("width")}, 1000, function(){ $("#rightmenu").css("display", "none"); }); - $("#rightmenu").attr("data-open", "false"); } }); }