aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHannes Mannerheim <h@nnesmannerhe.im>2014-10-06 01:13:38 +0200
committerHannes Mannerheim <h@nnesmannerhe.im>2014-10-06 01:13:38 +0200
commit37becd210e724fff1097985dbcf78ff8c5fd724b (patch)
tree910a14b15662784e458e3ef0fb275c9486497504 /js
parent1475c775e768a78bcc044ee9493aa3582a9f538a (diff)
downloadgnu-social-37becd210e724fff1097985dbcf78ff8c5fd724b.tar
gnu-social-37becd210e724fff1097985dbcf78ff8c5fd724b.zip
makes ajax-repeat work with ajax loaded content
Diffstat (limited to 'js')
-rw-r--r--js/util.js4
1 files 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;
},