clipboard: wildspace

This commit is contained in:
Sören Weber 2025-06-01 00:06:11 +02:00
parent c72515a504
commit e9ef535223
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
2 changed files with 2 additions and 2 deletions
assets/js
layouts/partials

View file

@ -565,7 +565,7 @@ function initAnchorClipboard() {
return;
}
document.querySelectorAll(':has(h1) :is(h2[id], h3[id], h4[id] , h5[id], h6[id])').forEach(function (element) {
document.querySelectorAll(':has(h1) :is(h2[id], h3[id], h4[id], h5[id], h6[id])').forEach(function (element) {
var origin = document.location.origin == 'null' ? `${document.location.protocol}//${document.location.host}` : document.location.origin;
var id = encodeURIComponent(element.id);
var link = `${origin}${document.location.pathname}#${id}`;

View file

@ -1 +1 @@
7.6.1+c6efbf1113e94ff36905d3a5319d84968996f808
7.6.1+c72515a5047be372be90277e569a86bc2e13ea21