]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Only bind submit to the notice created by Realtime
authorZach Copley <zach@status.net>
Tue, 1 Dec 2009 20:37:27 +0000 (12:37 -0800)
committerZach Copley <zach@status.net>
Tue, 1 Dec 2009 20:37:27 +0000 (12:37 -0800)
Conflicts:

plugins/Realtime/realtimeupdate.js

plugins/Realtime/realtimeupdate.js

index 05e2122433d68cea0985f6acd96d306a53952be2..ec027e11deaffb712e69c4b9a5577407d174c6d3 100644 (file)
@@ -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);