aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJay Sitter <jsitter@gmail.com>2014-11-03 13:32:20 -0500
committerJay Sitter <jsitter@gmail.com>2014-11-03 13:32:20 -0500
commitebea829d80a1688ad841a6b490f9d9e722ee53d7 (patch)
treec70fa47ddeac9388903c8b84e25dff4bd7595300
parente319c498913350cd8354774609ad2adfc62e4058 (diff)
downloadwallabag-ebea829d80a1688ad841a6b490f9d9e722ee53d7.tar.gz
wallabag-ebea829d80a1688ad841a6b490f9d9e722ee53d7.tar.zst
wallabag-ebea829d80a1688ad841a6b490f9d9e722ee53d7.zip
Improving class names for menu hiding
-rwxr-xr-xthemes/baggy/css/main.css2
-rwxr-xr-xthemes/baggy/js/init.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/baggy/css/main.css b/themes/baggy/css/main.css
index 48d22709..924ab5ef 100755
--- a/themes/baggy/css/main.css
+++ b/themes/baggy/css/main.css
@@ -987,7 +987,7 @@ pre code {
987 height: auto; 987 height: auto;
988 padding-top: 3em; 988 padding-top: 3em;
989 } 989 }
990 #links.open { 990 #links.menu--open {
991 display: block; 991 display: block;
992 } 992 }
993 footer { 993 footer {
diff --git a/themes/baggy/js/init.js b/themes/baggy/js/init.js
index 7ce7c2f6..74cbae68 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").toggleClass('open'); 11 $("#links").toggleClass('menu--open');
12 if ($('#content').hasClass('opacity03')) { 12 if ($('#content').hasClass('opacity03')) {
13 $('#content').removeClass('opacity03'); 13 $('#content').removeClass('opacity03');
14 } 14 }