diff --git a/source/js/post/copyright-info.js b/source/js/post/copyright-info.js index d851007a..947f46b5 100644 --- a/source/js/post/copyright-info.js +++ b/source/js/post/copyright-info.js @@ -11,6 +11,11 @@ function initCopyrightInfoHelper() { // copy copyright info copyCopyrightInfo() { const cicDom = document.querySelector('.copyright-info-content') + + if (!cicDom) { + return + } + const copyDom = document.querySelector('.copy-copyright-info') const copyIcon = copyDom.querySelector('i')