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
This commit is contained in:
commit
4eddf1c7a4
@ -235,7 +235,7 @@ $(document).ready(function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
function NoticeReply() {
|
function NoticeReply() {
|
||||||
if ($('#notice_data-text').length > 0) {
|
if ($('#notice_data-text').length > 0 && $('.notice_reply').length > 0) {
|
||||||
$('#content .notice').each(function() {
|
$('#content .notice').each(function() {
|
||||||
var notice = $(this)[0];
|
var notice = $(this)[0];
|
||||||
$($('.notice_reply', notice)[0]).click(function() {
|
$($('.notice_reply', notice)[0]).click(function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user