Fix for realtime vs threaded reply fix

This commit is contained in:
Brion Vibber 2011-03-01 16:29:00 -08:00
parent 4f41af7179
commit 018b11a883
2 changed files with 3 additions and 2 deletions

View File

@ -654,7 +654,8 @@ var SN = { // StatusNet
var orig_li = $('li', data)[0];
if (orig_li) {
var li = document._importNode(orig_li, true);
if ($("#notice-"+id).length == 0) {
var id = $(li).attr('id');
if ($("#"+id).length == 0) {
replyItem.replaceWith(li);
SN.U.NoticeInlineReplyPlaceholder(parentNotice);
} else {

2
js/util.min.js vendored

File diff suppressed because one or more lines are too long