X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9a7603cfbfdf7c0b4a2210ef454cecf894c5e172..0c9e7e914bc548bee30add46fb6e4aadf6ffb16c:/apps/wolnelektury_core/static/js/book_text/themes.js diff --git a/apps/wolnelektury_core/static/js/book_text/themes.js b/apps/wolnelektury_core/static/js/book_text/themes.js new file mode 100644 index 000000000..32e2e81ce --- /dev/null +++ b/apps/wolnelektury_core/static/js/book_text/themes.js @@ -0,0 +1,16 @@ +(function($){$(function(){ + + +if ($('#themes li').length > 0) { + $("#menu-themes").show(); +} + + +$(".theme-begin").click(function(e) { + e.preventDefault(); + if ($(this).css("overflow") == "hidden" || $(this).hasClass('showing')) { + $(this).toggleClass("showing"); + } +}); + +})})(jQuery);