From 19eb8110dcf8df62147ca2d0a5c8769a7fb11f71 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 9 Nov 2020 01:15:22 +0100 Subject: [PATCH] Settings switch --- src/wolnelektury/static/js/book_text/references.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wolnelektury/static/js/book_text/references.js b/src/wolnelektury/static/js/book_text/references.js index dcbb3c843..45a585240 100644 --- a/src/wolnelektury/static/js/book_text/references.js +++ b/src/wolnelektury/static/js/book_text/references.js @@ -5,7 +5,7 @@ interestingReferences = $.parseJSON(interestingReferences); } if (interestingReferences) { - $("settings-references").show(); + $("#settings-references").show(); } @@ -36,7 +36,6 @@ $('a.reference').each(function() { $this = $(this); uri = $this.attr('data-uri'); - console.log('check ' + uri); if (interestingReferences.hasOwnProperty(uri)) { $this.addClass('interesting'); ref = interestingReferences[uri]; -- 2.20.1