Small change to JQuery code to fix a bug.
This commit is contained in:
parent
09dac939de
commit
c7bdfb72c4
|
@ -124,10 +124,10 @@
|
||||||
function closeMenu() {
|
function closeMenu() {
|
||||||
$(function(){
|
$(function(){
|
||||||
if ( $("#rightmenu").attr("data-open") != "false" ) {
|
if ( $("#rightmenu").attr("data-open") != "false" ) {
|
||||||
|
$("#rightmenu").attr("data-open", "false");
|
||||||
$("#rightmenu").animate({left: "+=" + $("#rightmenu").css("width")}, 1000, function(){
|
$("#rightmenu").animate({left: "+=" + $("#rightmenu").css("width")}, 1000, function(){
|
||||||
$("#rightmenu").css("display", "none");
|
$("#rightmenu").css("display", "none");
|
||||||
});
|
});
|
||||||
$("#rightmenu").attr("data-open", "false");
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue