Ticket #1968: fix favoriting, reply when using InfiniteScroll

This commit is contained in:
Brion Vibber 2011-01-06 16:53:39 -08:00
parent f97380fdb5
commit 36711f305a

View File

@ -16,6 +16,12 @@ jQuery(document).ready(function($){
contentSelector : "#notices_primary ol.notices",
itemSelector : "#notices_primary ol.notices li"
},function(){
SN.Init.Notices();
// Reply button and attachment magic need to be set up
// for each new notice.
// DO NOT run SN.Init.Notices() which will duplicate stuff.
$(this).find('.notice').each(function() {
SN.U.NoticeReplyTo($(this));
SN.U.NoticeWithAttachment($(this));
});
});
});