]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Explictly unbinding is unnecessary as jQuery's remove() takes care of it
authorSarven Capadisli <csarven@status.net>
Sat, 28 Nov 2009 14:58:57 +0000 (14:58 +0000)
committerSarven Capadisli <csarven@status.net>
Sat, 28 Nov 2009 14:58:57 +0000 (14:58 +0000)
plugins/Realtime/realtimeupdate.js

index 8f99b6e03c2fbfbba274315ab336ab6330113d8f..6d47c4487aa8a3f479a18fe262f5164a9a22efe8 100644 (file)
@@ -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();
         }
      },