Fixes 447 - Hide mobile nav with css rather than js.

Also, removing random unused class.
This commit is contained in:
Anthony Mayer 2014-11-28 22:57:30 -08:00
parent 4b2326e105
commit dbf640ce2b
3 changed files with 3 additions and 7 deletions

View file

@ -25,10 +25,6 @@ Template[getTemplate('mobile_nav')].events({
}
});
Template[getTemplate('mobile_nav')].rendered = function () {
$('.mobile-nav .dropdown-menu').hide();
};
Template[getTemplate('mobile_nav')].events({
'click .dropdown-top-level': function (e) {
e.preventDefault();

View file

@ -100,6 +100,7 @@ $mobile-nav-width: 200px;
padding: 10px;
}
.dropdown-menu{
display: none;
background: #333;
li{
padding: 10px;

View file

@ -83,6 +83,7 @@
}
}
}
.search{
position: relative;
.search-field{
@ -99,6 +100,7 @@
background: white;
&:focus{
outline:none;
width: 200px;
}
}
&.empty{
@ -108,9 +110,6 @@
background: white;
}
}
.search-clear{
display: none;
}
}
}