From: Sarven Capadisli Date: Sat, 28 Nov 2009 14:58:57 +0000 (+0000) Subject: Explictly unbinding is unnecessary as jQuery's remove() takes care of it X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c413a4d80b9a5bfc339f0c7e2fff8b2b4bbccc32;p=quix0rs-gnu-social.git Explictly unbinding is unnecessary as jQuery's remove() takes care of it --- 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(); } },