fix
[wolnelektury.git] / 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();