From: Zach Copley Date: Tue, 1 Dec 2009 20:37:27 +0000 (-0800) Subject: Only bind submit to the notice created by Realtime X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9b1d62a9ecbec98d5606feef32f0dc0ab5e3cb09;p=quix0rs-gnu-social.git Only bind submit to the notice created by Realtime Conflicts: plugins/Realtime/realtimeupdate.js --- diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js index 05e2122433..ec027e11de 100644 --- a/plugins/Realtime/realtimeupdate.js +++ b/plugins/Realtime/realtimeupdate.js @@ -87,6 +87,8 @@ RealtimeUpdate = { } var noticeItem = RealtimeUpdate.makeNoticeItem(data); + var noticeItemID = $(noticeItem).attr('id'); + $("#notices_primary .notices").prepend(noticeItem); $("#notices_primary .notice:first").css({display:"none"}); $("#notices_primary .notice:first").fadeIn(1000);