diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-06-17 18:05:49 -0700 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-06-17 18:05:49 -0700 |
commit | 4eddf1c7a4fd0876958bb3215875108e3e25ae8d (patch) | |
tree | 74ae9f69db6a2b2e3c5553d308ffedd7767d4df9 | |
parent | 06240450ef4818a8a74748ada297d1d55d18b967 (diff) | |
parent | 5854fe194a35e1bbf2feb6db415f54f33def2dd9 (diff) |
Merge branch 'userdesign' of ssh://zach@dev.controlyourself.ca/mnt/www/design into userdesign
* 'userdesign' of ssh://zach@dev.controlyourself.ca/mnt/www/design:
Placed a check to make sure there is a reply button in a notice before
-rw-r--r-- | js/util.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/util.js b/js/util.js index ce0c20d31..854d25060 100644 --- a/js/util.js +++ b/js/util.js @@ -235,7 +235,7 @@ $(document).ready(function(){ }); function NoticeReply() { - if ($('#notice_data-text').length > 0) { + if ($('#notice_data-text').length > 0 && $('.notice_reply').length > 0) { $('#content .notice').each(function() { var notice = $(this)[0]; $($('.notice_reply', notice)[0]).click(function() { @@ -308,4 +308,4 @@ function NoticeAttachments() { $(this).closest(".entry-title").removeClass('ov'); } ); -}
\ No newline at end of file +} |