BUGFIX: Drawer not completly closed

This commit is contained in:
mmk2410 2015-11-18 15:01:39 +01:00
parent e8a2557c4a
commit c3c863b446
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ body{
position: fixed;
height: 100%;
top: 0;
left: -300px;
left: -301px;
padding-top: 64px;
z-index: 40;
}

View File

@ -88,7 +88,7 @@ function openNav() { // fade navigation drawer in
}
function closeNav() { // fade navigation drawer out
$('.nav').animate({"left": "-300px"}, 125); // slide out
$('.nav').animate({"left": "-301px"}, 125); // slide out
$('.overlay').animate(
{"opacity": "0.0"}, 125, function () { // fade the overlay to complete transparency
$('.overlay').hide(); // hide it then