]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
A little more specific selector for notice reply
authorSarven Capadisli <csarven@controlyourself.ca>
Thu, 18 Jun 2009 01:10:48 +0000 (01:10 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Thu, 18 Jun 2009 01:10:48 +0000 (01:10 +0000)
js/util.js

index 854d250609c1ef89960ec041a039fc2d128a71f4..17ae4c071926829234a28b741d91a21076e68784 100644 (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() {