Skip to content

Commit

Permalink
Pref. 评论添加额外路径
Browse files Browse the repository at this point in the history
  • Loading branch information
RavelloH committed Feb 21, 2024
1 parent 119bc2a commit 0d7ebab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion origin/assets/js/display.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ function resetTagList() {
// 引入评论脚本
function loadComment(path) {
addScript('https://ravelloh.top/assets/js/lib/twikoo.all.min.js',
`initComment(${'\''+path+'\'' || undefined})`);
`initComment(${path ? '\''+path+'\'' : undefined})`);
}

// 评论初始化
Expand Down

0 comments on commit 0d7ebab

Please sign in to comment.