aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
authorJay Sitter <jsitter@gmail.com>2014-11-03 13:28:58 -0500
committerJay Sitter <jsitter@gmail.com>2014-11-03 13:28:58 -0500
commite319c498913350cd8354774609ad2adfc62e4058 (patch)
treeeb8800795499382b06f6b375c319313486c5823e /themes
parent20bb3f7f2a5b6a4ac6a8cc1e11a37dc4de42cf23 (diff)
downloadwallabag-e319c498913350cd8354774609ad2adfc62e4058.tar.gz
wallabag-e319c498913350cd8354774609ad2adfc62e4058.tar.zst
wallabag-e319c498913350cd8354774609ad2adfc62e4058.zip
Fixing menu hiding behavior when switching from mobile width to desktop width
Diffstat (limited to 'themes')
-rwxr-xr-xthemes/baggy/css/main.css3
-rwxr-xr-xthemes/baggy/js/init.js2
2 files changed, 4 insertions, 1 deletions
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 {
987 height: auto; 987 height: auto;
988 padding-top: 3em; 988 padding-top: 3em;
989 } 989 }
990 #links.open {
991 display: block;
992 }
990 footer { 993 footer {
991 position: static; 994 position: static;
992 margin-right: 3em; 995 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() {
8 ========================================================================== */ 8 ========================================================================== */
9 9
10 $("#menu").click(function(){ 10 $("#menu").click(function(){
11 $("#links").toggle(); 11 $("#links").toggleClass('open');
12 if ($('#content').hasClass('opacity03')) { 12 if ($('#content').hasClass('opacity03')) {
13 $('#content').removeClass('opacity03'); 13 $('#content').removeClass('opacity03');
14 } 14 }