X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=themes%2Fbaggy%2Fjs%2Finit.js;h=74cbae683bbc3e9a9643d865087db721315eec3a;hb=153237671001225dea40957e33e67fe16e6124fc;hp=00470fbfd734fdebe270ff24c20c11069599e147;hpb=17065e613fde7c4226df66e4a1c57784190f29e1;p=github%2Fwallabag%2Fwallabag.git diff --git a/themes/baggy/js/init.js b/themes/baggy/js/init.js index 00470fbf..74cbae68 100755 --- a/themes/baggy/js/init.js +++ b/themes/baggy/js/init.js @@ -8,7 +8,10 @@ $.fn.ready(function() { ========================================================================== */ $("#menu").click(function(){ - $("#links").toggle(); + $("#links").toggleClass('menu--open'); + if ($('#content').hasClass('opacity03')) { + $('#content').removeClass('opacity03'); + } }); /* ==========================================================================