summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-28 14:58:57 +0000
committerSarven Capadisli <csarven@status.net>2009-11-28 14:58:57 +0000
commitc413a4d80b9a5bfc339f0c7e2fff8b2b4bbccc32 (patch)
treed7ef00b2a8f3a0eed3013b3494510cefee82c0e5
parentbbeea0812726a2f51c9879bc3b851308e3680e6e (diff)
Explictly unbinding is unnecessary as jQuery's remove() takes care of it
-rw-r--r--plugins/Realtime/realtimeupdate.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js
index 8f99b6e03..6d47c4487 100644
--- a/plugins/Realtime/realtimeupdate.js
+++ b/plugins/Realtime/realtimeupdate.js
@@ -99,9 +99,6 @@ RealtimeUpdate = {
purgeLastNoticeItem: function() {
if ($('#notices_primary .notice').length > RealtimeUpdate._maxnotices) {
- $("#notices_primary .notice:last .form_disfavor").unbind('submit');
- $("#notices_primary .notice:last .form_favor").unbind('submit');
- $("#notices_primary .notice:last .notice_reply").unbind('click');
$("#notices_primary .notice:last").remove();
}
},