X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d66f9960d12d739c44a89d1d4e013f52783097e7..2b733d220d4a422c7d5f55ddc5925431e95b8618:/src/wolnelektury/static/js/book_text/references.js?ds=inline diff --git a/src/wolnelektury/static/js/book_text/references.js b/src/wolnelektury/static/js/book_text/references.js index dcbb3c843..89663a69f 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").css('display', 'block'); } @@ -18,7 +18,7 @@ if (map_enabled) return; map = L.map('reference-map').setView([0, 0], 11); - L.tileLayer('https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png?lang=pl', { + L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: 'Map data © OpenStreetMap contributors' }).addTo(map); @@ -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];