X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f7d8acded4a58d423035c5759f6dee9a34396959..581ffb970c3593c925dd4256eb4276c5b9625f92:/src/wolnelektury/static/js/book_text/references.js?ds=sidebyside diff --git a/src/wolnelektury/static/js/book_text/references.js b/src/wolnelektury/static/js/book_text/references.js index 146067523..87c806195 100644 --- a/src/wolnelektury/static/js/book_text/references.js +++ b/src/wolnelektury/static/js/book_text/references.js @@ -474,7 +474,7 @@ let text = window.location.protocol + '//' + window.location.host + window.location.pathname; - if (anchor) text += anchor; + if (anchor) text += '#' + anchor; navigator.clipboard.writeText(text); this.hideCopied();