A little more specific selector for notice reply

This commit is contained in:
Sarven Capadisli 2009-06-18 01:10:48 +00:00
parent 5854fe194a
commit 77185dd4c6

View File

@ -235,7 +235,7 @@ $(document).ready(function(){
});
function NoticeReply() {
if ($('#notice_data-text').length > 0 && $('.notice_reply').length > 0) {
if ($('#notice_data-text').length > 0 && $('#content .notice_reply').length > 0) {
$('#content .notice').each(function() {
var notice = $(this)[0];
$($('.notice_reply', notice)[0]).click(function() {