fix
authorRadek Czajka <rczajka@rczajka.pl>
Wed, 5 Jun 2024 13:22:13 +0000 (15:22 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Wed, 5 Jun 2024 13:22:13 +0000 (15:22 +0200)
src/wolnelektury/static/js/book_text/references.js

index 1460675..87c8061 100644 (file)
             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();