Small change to JQuery code to fix a bug.

This commit is contained in:
Scott Wallace 2014-05-15 17:07:39 +01:00
parent 09dac939de
commit c7bdfb72c4

View file

@ -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");
}
});
}