More work on new HTML reader.
[wolnelektury.git] / 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 (file)
index 1956aa8..0000000
+++ /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);