Support CJK header link
This commit is contained in:
parent
dcd09019f6
commit
290800d19a
|
@ -373,7 +373,7 @@
|
||||||
var newElemOuter = document.createElement('span');
|
var newElemOuter = document.createElement('span');
|
||||||
newElemOuter.classList.add('anchor');
|
newElemOuter.classList.add('anchor');
|
||||||
newElemOuter.classList.add('hide');
|
newElemOuter.classList.add('hide');
|
||||||
newElemOuter.setAttribute('data-clipboard-text', link);
|
newElemOuter.setAttribute('data-clipboard-text', decodeURI(link));
|
||||||
newElemOuter.style.position = 'relative';
|
newElemOuter.style.position = 'relative';
|
||||||
|
|
||||||
var newElemInner = document.createElement('span');
|
var newElemInner = document.createElement('span');
|
||||||
|
|
Loading…
Reference in New Issue