Explictly unbinding is unnecessary as jQuery's remove() takes care of it

This commit is contained in:
Sarven Capadisli 2009-11-28 14:58:57 +00:00
parent bbeea08127
commit c413a4d80b

View 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();
}
},