Merge pull request #922 from jsit/menuhiding

Fixing menu hiding behavior when switching from mobile width to desktop width
This commit is contained in:
Nicolas Lœuillet 2014-11-03 22:42:49 +01:00
commit fa6f5db97f
2 changed files with 4 additions and 1 deletions

View File

@ -987,6 +987,9 @@ pre code {
height: auto;
padding-top: 3em;
}
#links.menu--open {
display: block;
}
footer {
position: static;
margin-right: 3em;

View File

@ -8,7 +8,7 @@ $.fn.ready(function() {
========================================================================== */
$("#menu").click(function(){
$("#links").toggle();
$("#links").toggleClass('menu--open');
if ($('#content').hasClass('opacity03')) {
$('#content').removeClass('opacity03');
}