fix(gitalk): gitalk config error
This commit is contained in:
2
assets/js/theme.min.js
vendored
2
assets/js/theme.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -593,7 +593,7 @@ class Theme {
|
|||||||
if (this.config.comment) {
|
if (this.config.comment) {
|
||||||
if (this.config.comment.gitalk) {
|
if (this.config.comment.gitalk) {
|
||||||
this.config.comment.gitalk.body = decodeURI(window.location.href);
|
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');
|
gitalk.render('gitalk');
|
||||||
}
|
}
|
||||||
if (this.config.comment.valine) new Valine(this.config.comment.valine);
|
if (this.config.comment.valine) new Valine(this.config.comment.valine);
|
||||||
|
|||||||
Reference in New Issue
Block a user