From 37becd210e724fff1097985dbcf78ff8c5fd724b Mon Sep 17 00:00:00 2001 From: Hannes Mannerheim Date: Mon, 6 Oct 2014 01:13:38 +0200 Subject: [PATCH] makes ajax-repeat work with ajax loaded content --- js/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/util.js b/js/util.js index 1d01f72ecd..c300a0d93e 100644 --- a/js/util.js +++ b/js/util.js @@ -773,7 +773,7 @@ var SN = { // StatusNet * */ NoticeRepeat: function () { - $('.form_repeat').on('click', function (e) { + $('body').on('click', '.form_repeat', function (e) { e.preventDefault(); SN.U.NoticeRepeatConfirmation($(this)); @@ -1374,7 +1374,7 @@ var SN = { // StatusNet // Mismatch between id-based and name-based user/group links currently complicates // the lookup, since all our inline mentions contain the absolute links but the // UI links currently on the page use malleable names. - + return false; },