1
0
Fork 0
mirror of https://github.com/dillonzq/LoveIt.git synced 2025-04-05 13:40:59 +02:00

fix(gitalk): gitalk config error

This commit is contained in:
Dillon 2020-05-07 00:29:41 +08:00
parent 6e1e86eade
commit 9e3949cfdd
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -593,7 +593,7 @@ class Theme {
if (this.config.comment) {
if (this.config.comment.gitalk) {
this.config.comment.gitalk.body = decodeURI(window.location.href);
const gitalk = new Gitalk(this.config.comment.gitalk.body);
const gitalk = new Gitalk(this.config.comment.gitalk);
gitalk.render('gitalk');
}
if (this.config.comment.valine) new Valine(this.config.comment.valine);