diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-11-03 22:42:49 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-11-03 22:42:49 +0100 |
commit | fa6f5db97fab612a17a992da5e681b33995dd4c7 (patch) | |
tree | c70fa47ddeac9388903c8b84e25dff4bd7595300 /themes/baggy/js/init.js | |
parent | 20bb3f7f2a5b6a4ac6a8cc1e11a37dc4de42cf23 (diff) | |
parent | ebea829d80a1688ad841a6b490f9d9e722ee53d7 (diff) | |
download | wallabag-fa6f5db97fab612a17a992da5e681b33995dd4c7.tar.gz wallabag-fa6f5db97fab612a17a992da5e681b33995dd4c7.tar.zst wallabag-fa6f5db97fab612a17a992da5e681b33995dd4c7.zip |
Merge pull request #922 from jsit/menuhiding
Fixing menu hiding behavior when switching from mobile width to desktop width
Diffstat (limited to 'themes/baggy/js/init.js')
-rwxr-xr-x | themes/baggy/js/init.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/baggy/js/init.js b/themes/baggy/js/init.js index 542f1d43..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").toggle(); | 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 | } |