Using the right selector for notice_reply

This commit is contained in:
Sarven Capadisli 2009-11-17 00:07:21 +00:00
parent 8b4fd41421
commit ca31504dd9

View File

@ -82,7 +82,7 @@ RealtimeUpdate = {
if ($('#notices_primary .notice').length > RealtimeUpdate._maxnotices) { if ($('#notices_primary .notice').length > RealtimeUpdate._maxnotices) {
$("#notices_primary .notice:last .form_disfavor").unbind('submit'); $("#notices_primary .notice:last .form_disfavor").unbind('submit');
$("#notices_primary .notice:last .form_favor").unbind('submit'); $("#notices_primary .notice:last .form_favor").unbind('submit');
$("#notices_primary .notice:last #notice_in-reply-to").unbind('click'); $("#notices_primary .notice:last .notice_reply").unbind('click');
$("#notices_primary .notice:last").remove(); $("#notices_primary .notice:last").remove();
} }