X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3810d194101c586ddad1257779d61220376e7050..e4d004cbf9d467a20a2a0d04aecaac36efd0af2c:/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 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(); });