BUGFIX: Drawer not completly closed
This commit is contained in:
parent
e8a2557c4a
commit
c3c863b446
2 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ body{
|
|||
position: fixed;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: -300px;
|
||||
left: -301px;
|
||||
padding-top: 64px;
|
||||
z-index: 40;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue