Skip to content

Commit 8599a15

Browse files
committed
Site updated: 2018-08-23 02:11:21
1 parent 46b24d9 commit 8599a15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/diaspora.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@ $(function() {
468468
// comment
469469
case - 1 != tag.indexOf("comment"):
470470
console.log(window.location.pathname);
471+
var path = window.location.pathname;
471472
Diaspora.loading(),
472473
comment = $('#vcomment');
473474
// gitalk = new Gitalk({
@@ -485,7 +486,7 @@ $(function() {
485486
appKey: '6pu05MQIG17NusspzGTK4xY3',
486487
placeholder: '快来加入评论吧~ (≧∇≦)ノ',
487488
avatar: 'monsterid',
488-
path: window.location.pathname
489+
path: path
489490
});
490491
$(".comment").removeClass("link")
491492
// gitalk.render('gitalk-container')

0 commit comments

Comments
 (0)