Update index.html
This commit is contained in:
parent
e41dccc331
commit
d5bdfeb3ab
|
@ -109,11 +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).success(function(){
|
$("#rightmenu").animate({left: "+=" + $("#rightmenu").css("width")}, 1000, function(){
|
||||||
$("#rightmenu").css("display", "none");
|
$("#rightmenu").css("display", "none");
|
||||||
$("#rightmenu").attr("data-open", "false");
|
|
||||||
alert("Hello");
|
|
||||||
});
|
});
|
||||||
|
$("#rightmenu").attr("data-open", "false");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue