disqus/disqusjs/facebook comments 可隨夜間模式按鈕切換而轉換主題

🐛 修復pjax下valine評論顯示不正常的bugs
🐛 修復facebook comments 在手機下寬度不是100%的bugs
This commit is contained in:
Jerry
2020-07-18 22:30:15 +08:00
Unverified
parent f7d57ac883
commit 4f64768011
17 changed files with 120 additions and 98 deletions

View File

@@ -1,5 +1,5 @@
script.
function loadlivere () {
function loadLivere () {
(function(d, s) {
var j, e = d.getElementsByTagName(s)[0];
if (typeof LivereTower === 'function') { return; }
@@ -11,13 +11,10 @@ script.
}
if ('!{defaultComment}' === 'Livere' || !{theme.comments.load_begin}) {
loadlivere()
loadLivere()
}
else {
function loadOtherComment () {
loadlivere()
loadLivere()
}
}
noscript.
Please activate JavaScript for write a comment in LiveRe
}