make show more comments work with ajax loaded stuff, i.e. infinitescroll
This commit is contained in:
parent
852924799f
commit
c2fa3ca846
@ -749,8 +749,7 @@ var SN = { // StatusNet
|
|||||||
SN.U.NoticeInlineReplyTrigger(notice);
|
SN.U.NoticeInlineReplyTrigger(notice);
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
$('li.notice-reply-comments a')
|
$(document).on('click', 'li.notice-reply-comments a', function () {
|
||||||
.on('click', function () {
|
|
||||||
var url = $(this).attr('href');
|
var url = $(this).attr('href');
|
||||||
var area = $(this).closest('.threaded-replies');
|
var area = $(this).closest('.threaded-replies');
|
||||||
$.get(url, {ajax: 1}, function (data, textStatus, xhr) {
|
$.get(url, {ajax: 1}, function (data, textStatus, xhr) {
|
||||||
|
Loading…
Reference in New Issue
Block a user