diff --git a/assets/js/next-boot.js b/assets/js/next-boot.js index e04c5e6..3991921 100644 --- a/assets/js/next-boot.js +++ b/assets/js/next-boot.js @@ -47,7 +47,7 @@ NexT.boot.refresh = function() { NexT.utils.registerSidebarTOC(); - NexT.utils.replacePostCRLink(); + //NexT.utils.replacePostCRLink(); NexT.utils.registerCopyCode(); NexT.utils.registerPostReward(); if(NexT.CONFIG.page.comments) { diff --git a/assets/js/utils.js b/assets/js/utils.js index e34087e..795b5f2 100644 --- a/assets/js/utils.js +++ b/assets/js/utils.js @@ -278,7 +278,7 @@ NexT.utils = { return res_src; }, - replacePostCRLink: function() { + /* replacePostCRLink: function() { if (NexT.CONFIG.hostname.startsWith('http')) return; // Try to support mutli domain without base URL sets. let href = window.location.href; @@ -289,7 +289,7 @@ NexT.utils = { if (!postLink) return; postLink.text = href; postLink.href = href; - }, + },*/ /** * One-click copy code support.