Skip to content

Commit

Permalink
fix getcomment issue
Browse files Browse the repository at this point in the history
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
  • Loading branch information
zhaohuabing committed May 29, 2018
1 parent 806fbb7 commit ec9f394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iDisqus.js
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@
_.dom.querySelector('#idisqus').style.display = 'block';
_.dom.querySelector('#disqus_thread').style.display = 'none';
getAjax(
_.opts.api + '/getcomments.php?link=' + _.opts.url + (!!_.stat.next ? '&cursor=' + _.stat.next : ''),
_.opts.api + '/getcomments.php?ident=' + _.opts.identifier + (!!_.stat.next ? '&cursor=' + _.stat.next : ''),
function(resp){
var data = JSON.parse(resp);
if (data.code === 0) {
Expand Down

0 comments on commit ec9f394

Please sign in to comment.