forked from GNUsocial/gnu-social
jQuery.prepend takes a single param
This commit is contained in:
parent
2b6dfbdf2b
commit
7d843b1122
@ -27,7 +27,7 @@ RealtimeUpdate = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var noticeItem = RealtimeUpdate.makeNoticeItem(data);
|
var noticeItem = RealtimeUpdate.makeNoticeItem(data);
|
||||||
$("#notices_primary .notices").prepend(noticeItem, true);
|
$("#notices_primary .notices").prepend(noticeItem);
|
||||||
$("#notices_primary .notice:first").css({display:"none"});
|
$("#notices_primary .notice:first").css({display:"none"});
|
||||||
$("#notices_primary .notice:first").fadeIn(1000);
|
$("#notices_primary .notice:first").fadeIn(1000);
|
||||||
NoticeReply();
|
NoticeReply();
|
||||||
|
Loading…
Reference in New Issue
Block a user