Update index.html
This commit is contained in:
parent
c1245bdd72
commit
ab9c405588
|
@ -109,9 +109,10 @@
|
||||||
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).done(function(){
|
||||||
$("#rightmenu").attr("data-open", "false");
|
|
||||||
$("#rightmenu").css("display", "none");
|
$("#rightmenu").css("display", "none");
|
||||||
|
$("#rightmenu").attr("data-open", "false");
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue