From c413a4d80b9a5bfc339f0c7e2fff8b2b4bbccc32 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Sat, 28 Nov 2009 14:58:57 +0000 Subject: [PATCH] Explictly unbinding is unnecessary as jQuery's remove() takes care of it --- plugins/Realtime/realtimeupdate.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js index 8f99b6e03c..6d47c4487a 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(); } },