Fixing menu hiding behavior when switching from mobile width to desktop width

This commit is contained in:
Jay Sitter 2014-11-03 13:28:58 -05:00
parent 20bb3f7f2a
commit e319c49891
2 changed files with 4 additions and 1 deletions

View File

@ -987,6 +987,9 @@ pre code {
height: auto;
padding-top: 3em;
}
#links.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('open');
if ($('#content').hasClass('opacity03')) {
$('#content').removeClass('opacity03');
}