From 27ddf8cc762407fe3ab83cc9c302fa534644985a Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 9 Nov 2020 08:42:04 +0100 Subject: [PATCH] Click fix. --- src/wolnelektury/static/js/book_text/references.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }); -- 2.20.1