Merge branch 'master' into rwd
[wolnelektury.git] / apps / wolnelektury_core / static / js / book_text / menu.js
1 (function($){$(function(){
2
3
4 $('#menu-toggle-on').click(function(e) {
5     e.preventDefault();
6     var body = $("body");
7     body.removeClass("menu-hidden");
8     if (!$("#menu").is(":visible")) {
9         body.addClass("menu-showed");
10     }
11 });
12
13 $('#menu-toggle-off').click(function(e) {
14     e.preventDefault();
15     var body = $("body");
16     body.removeClass("menu-showed");
17     if ($("#menu").is(":visible")) {
18         body.addClass("menu-hidden");
19     }
20 });
21
22
23
24 })})(jQuery);