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;
|
position: fixed;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: -300px;
|
left: -301px;
|
||||||
padding-top: 64px;
|
padding-top: 64px;
|
||||||
z-index: 40;
|
z-index: 40;
|
||||||
}
|
}
|
||||||
|
|
|
@ -88,7 +88,7 @@ function openNav() { // fade navigation drawer in
|
||||||
}
|
}
|
||||||
|
|
||||||
function closeNav() { // fade navigation drawer out
|
function closeNav() { // fade navigation drawer out
|
||||||
$('.nav').animate({"left": "-300px"}, 125); // slide out
|
$('.nav').animate({"left": "-301px"}, 125); // slide out
|
||||||
$('.overlay').animate(
|
$('.overlay').animate(
|
||||||
{"opacity": "0.0"}, 125, function () { // fade the overlay to complete transparency
|
{"opacity": "0.0"}, 125, function () { // fade the overlay to complete transparency
|
||||||
$('.overlay').hide(); // hide it then
|
$('.overlay').hide(); // hide it then
|
||||||
|
|
Reference in a new issue