Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dillonzq/LoveIt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-05-06 19:29:41 +0300
committerDillon <dillonzq@outlook.com>2020-05-06 19:29:41 +0300
commit9e3949cfdd2cd956bf73b606c5db9ad90c90991a (patch)
tree3d6b691699baae9d66137ef2e31f36e7afcaff57 /src
parent6e1e86eade37ce299937d24a93398e516af0ef34 (diff)
fix(gitalk): gitalk config error
Diffstat (limited to 'src')
-rw-r--r--src/js/theme.js2
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);