We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit c2fa3ca8 authored by Hannes Mannerheim's avatar Hannes Mannerheim

make show more comments work with ajax loaded stuff, i.e. infinitescroll

parent 85292479
......@@ -749,8 +749,7 @@ var SN = { // StatusNet
return false;
$('li.notice-reply-comments a')
.on('click', function () {
$(document).on('click', 'li.notice-reply-comments a', function () {
var url = $(this).attr('href');
var area = $(this).closest('.threaded-replies');
$.get(url, {ajax: 1}, function (data, textStatus, xhr) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment