Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zzossig/hugo-theme-zzo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/script/single-script.html')
-rw-r--r--layouts/partials/script/single-script.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/script/single-script.html b/layouts/partials/script/single-script.html
index 456f2cf..4a23c59 100644
--- a/layouts/partials/script/single-script.html
+++ b/layouts/partials/script/single-script.html
@@ -373,7 +373,7 @@
var newElemOuter = document.createElement('span');
newElemOuter.classList.add('anchor');
newElemOuter.classList.add('hide');
- newElemOuter.setAttribute('data-clipboard-text', link);
+ newElemOuter.setAttribute('data-clipboard-text', decodeURI(link));
newElemOuter.style.position = 'relative';
var newElemInner = document.createElement('span');