🎨 Try to remove the post link in creative commons.
This commit is contained in:
parent
e0cfe0c50c
commit
c0ba7eda06
@ -47,7 +47,7 @@ NexT.boot.refresh = function() {
|
|||||||
|
|
||||||
NexT.utils.registerSidebarTOC();
|
NexT.utils.registerSidebarTOC();
|
||||||
|
|
||||||
NexT.utils.replacePostCRLink();
|
//NexT.utils.replacePostCRLink();
|
||||||
NexT.utils.registerCopyCode();
|
NexT.utils.registerCopyCode();
|
||||||
NexT.utils.registerPostReward();
|
NexT.utils.registerPostReward();
|
||||||
if(NexT.CONFIG.page.comments) {
|
if(NexT.CONFIG.page.comments) {
|
||||||
|
@ -278,7 +278,7 @@ NexT.utils = {
|
|||||||
return res_src;
|
return res_src;
|
||||||
},
|
},
|
||||||
|
|
||||||
replacePostCRLink: function() {
|
/* replacePostCRLink: function() {
|
||||||
if (NexT.CONFIG.hostname.startsWith('http')) return;
|
if (NexT.CONFIG.hostname.startsWith('http')) return;
|
||||||
// Try to support mutli domain without base URL sets.
|
// Try to support mutli domain without base URL sets.
|
||||||
let href = window.location.href;
|
let href = window.location.href;
|
||||||
@ -289,7 +289,7 @@ NexT.utils = {
|
|||||||
if (!postLink) return;
|
if (!postLink) return;
|
||||||
postLink.text = href;
|
postLink.text = href;
|
||||||
postLink.href = href;
|
postLink.href = href;
|
||||||
},
|
},*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* One-click copy code support.
|
* One-click copy code support.
|
||||||
|
Loading…
Reference in New Issue
Block a user