1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-23 09:32:15 -05:00

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; height: auto;
padding-top: 3em; padding-top: 3em;
} }
#links.open {
display: block;
}
footer { footer {
position: static; position: static;
margin-right: 3em; margin-right: 3em;

View File

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