X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d66f9960d12d739c44a89d1d4e013f52783097e7..b94c6ee5854472d0054f42ac5757b84819adcd6c:/src/wolnelektury/static/js/book_text/references.js diff --git a/src/wolnelektury/static/js/book_text/references.js b/src/wolnelektury/static/js/book_text/references.js index dcbb3c843..7e21b21d4 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(); } @@ -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];