When a story has no comments, we're still getting an empty light blue comments box. Should this not be displayed when there are no comments?

Comments

bkat’s picture

I added this to my template.php file:

/**
 * kjh: override theme_comment_wrapper to disable comment div when there are no
 *      comments.
 */
function ubiquity_comment_wrapper($content) {
  if ($content == '') {
      return '';
  }

  return theme_comment_wrapper($content);
}
melon’s picture

Status: Active » Fixed

Thank you, this is a good suggestion, I committed it.

Anonymous’s picture

Status: Fixed » Closed (fixed)