From: Sarven Capadisli Date: Thu, 18 Jun 2009 01:10:48 +0000 (+0000) Subject: A little more specific selector for notice reply X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=77185dd4c67761afbe670a15928c523f4de2842b;p=quix0rs-gnu-social.git A little more specific selector for notice reply --- diff --git a/js/util.js b/js/util.js index 854d250609..17ae4c0719 100644 --- a/js/util.js +++ b/js/util.js @@ -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() {