diff options
author | Dillon <dillonzq@outlook.com> | 2020-05-06 19:29:41 +0300 |
---|---|---|
committer | Dillon <dillonzq@outlook.com> | 2020-05-06 19:29:41 +0300 |
commit | 9e3949cfdd2cd956bf73b606c5db9ad90c90991a (patch) | |
tree | 3d6b691699baae9d66137ef2e31f36e7afcaff57 /src | |
parent | 6e1e86eade37ce299937d24a93398e516af0ef34 (diff) |
fix(gitalk): gitalk config error
Diffstat (limited to 'src')
-rw-r--r-- | src/js/theme.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/theme.js b/src/js/theme.js index 7658e91f..4bf9c48a 100644 --- a/src/js/theme.js +++ b/src/js/theme.js @@ -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); |