Fix Reading list page comment likes (#36)

* Fix Reading list page comment likes
This commit is contained in:
Ben Halpern 2018-03-05 00:42:21 -05:00 committed by GitHub
parent 8f9d192783
commit fea5f49bbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -70,6 +70,7 @@ function getComments(){
});
substoriesDiv.innerHTML = '<div class="comment-trees"><h2>Recent Comment Activity</h2>'+resultDivs.join("<br/>")+'</div>';
initializeCommentDropdown();
initializeCommentsPage();
});
}

View file

@ -1,4 +1,4 @@
var CACHE_VERSION = 'v2.4.6';
var CACHE_VERSION = 'v2.4.7';
var CACHE_NAME = CACHE_VERSION + ':sw-cache::';
var REQUESTS_LIMIT = 70;

View file

@ -69,7 +69,7 @@ function actions(comment) {
</div>';
} else {
return '<div class="actions" data-comment-id="'+comment.id+'" data-path="'+comment.url+'" data-commentable-id="'+comment.commentable.id+'">\
<a href="'+comment.url+'" class="toggle-reply-form" rel="nofollow">VIEW/REPLY</a>\
<a href="'+comment.url+'" rel="nofollow">VIEW/REPLY</a>\
</div>';
}
}