X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0dedb252acdced77dc403ff4acdbb42734eb991f..7f95f426fe9d582ee5b33e73edc7ef7c78a82c12:/apps/wolnelektury_core/static/js/book_text/other.js diff --git a/apps/wolnelektury_core/static/js/book_text/other.js b/apps/wolnelektury_core/static/js/book_text/other.js deleted file mode 100644 index 1956aa80e..000000000 --- a/apps/wolnelektury_core/static/js/book_text/other.js +++ /dev/null @@ -1,36 +0,0 @@ -(function($){$(function(){ - - -$("#menu-other").show(); - - -$(".display-other").click(function(e) { - e.preventDefault(); - - if ($('#big-pane').length == 0) - $("#other-text").show(); - $("#other-versions").slideUp('fast'); - $(".menu").removeClass('selected'); - - $("#other").hide(); - $("nav .active").removeClass('active'); - $("body").addClass('with-other-text'); - - $.ajax($(this).attr('data-other'), { - success: function(text) { - $("#other-text-body").html(text); - $("#other-text-waiter").hide(); - $("#other-text-body").show(); - } - }); -}); - - -$("#other-text-close").click(function(e) { - e.preventDefault(); - if ($('#big-pane').length == 0) - $("#other-text").hide(); - $("body").removeClass('with-other-text'); -}); - -})})(jQuery);