From e319c498913350cd8354774609ad2adfc62e4058 Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Mon, 3 Nov 2014 13:28:58 -0500 Subject: Fixing menu hiding behavior when switching from mobile width to desktop width --- themes/baggy/css/main.css | 3 +++ themes/baggy/js/init.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/themes/baggy/css/main.css b/themes/baggy/css/main.css index ce314860..48d22709 100755 --- a/themes/baggy/css/main.css +++ b/themes/baggy/css/main.css @@ -987,6 +987,9 @@ pre code { height: auto; padding-top: 3em; } + #links.open { + display: block; + } footer { position: static; margin-right: 3em; diff --git a/themes/baggy/js/init.js b/themes/baggy/js/init.js index 542f1d43..7ce7c2f6 100755 --- a/themes/baggy/js/init.js +++ b/themes/baggy/js/init.js @@ -8,7 +8,7 @@ $.fn.ready(function() { ========================================================================== */ $("#menu").click(function(){ - $("#links").toggle(); + $("#links").toggleClass('open'); if ($('#content').hasClass('opacity03')) { $('#content').removeClass('opacity03'); } -- cgit v1.2.3