From: Radek Czajka Date: Mon, 9 Nov 2020 10:23:44 +0000 (+0100) Subject: Fix displaying map. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/94a24222f21ddd57ae1e95ea52389c4c036779e6 Fix displaying map. --- diff --git a/src/wolnelektury/static/js/book_text/references.js b/src/wolnelektury/static/js/book_text/references.js index 365a18c1b..5a6af4948 100644 --- a/src/wolnelektury/static/js/book_text/references.js +++ b/src/wolnelektury/static/js/book_text/references.js @@ -15,6 +15,8 @@ var map = null; function enable_map() { + $("#reference-map").show('slow'); + if (map_enabled) return; map = L.map('reference-map').setView([0, 0], 11);