From: Radek Czajka Date: Mon, 9 Nov 2020 07:42:04 +0000 (+0100) Subject: Click fix. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/27ddf8cc762407fe3ab83cc9c302fa534644985a Click fix. --- diff --git a/src/wolnelektury/static/js/book_text/references.js b/src/wolnelektury/static/js/book_text/references.js index 0585d84e2..7c98763bf 100644 --- a/src/wolnelektury/static/js/book_text/references.js +++ b/src/wolnelektury/static/js/book_text/references.js @@ -29,7 +29,8 @@ } - $("#reference-close").on("click", function() { + $("#reference-close").on("click", function(event) { + event.preventDefault(); $("#reference-box").hide(); });