Update index.html

This commit is contained in:
Scott Wallace 2014-05-15 09:32:28 +01:00
parent a639f9c95b
commit e4497d21d9

View file

@ -109,8 +109,8 @@
function closeMenu() { function closeMenu() {
$(function(){ $(function(){
if ( $("#rightmenu").attr("data-open") != "false" ) { if ( $("#rightmenu").attr("data-open") != "false" ) {
$("#rightmenu").animate({left: "+=" + $("#rightmenu").css("width")}, 1000); $("#rightmenu").animate({left: "+=" + $("#rightmenu").css("width")}, 1000).css("display", "none");
$("#rightmenu").css("display", "none"); //$("#rightmenu").css("display", "none");
$("#rightmenu").attr("data-open", "false"); $("#rightmenu").attr("data-open", "false");
} }
}); });