summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-12-01 12:37:27 -0800
committerZach Copley <zach@status.net>2009-12-01 12:37:27 -0800
commit9b1d62a9ecbec98d5606feef32f0dc0ab5e3cb09 (patch)
treee37eec680592b7de769b0efde0b04308d1a321ef
parentbc841aabd7341b45a2acacc6d359c1b97fc14e4d (diff)
Only bind submit to the notice created by Realtime
Conflicts: plugins/Realtime/realtimeupdate.js
-rw-r--r--plugins/Realtime/realtimeupdate.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js
index 05e212243..ec027e11d 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);