Skip to content

Commit

Permalink
fix(navigation): Links to “Comments” again link directly to the comme…
Browse files Browse the repository at this point in the history
…nts section

In an earlier redesign of the comments, a separate element with id=“comments”
was removed. This applies the id to the containing DIV element

Fixes #8227
  • Loading branch information
mrclay committed Apr 20, 2015
1 parent dbe7801 commit caea1ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions views/default/page/elements/comments.php
Expand Up @@ -22,6 +22,8 @@
$id = '';
if (isset($vars['id'])) {
$id = "id=\"{$vars['id']}\"";
} else {
$id = "id=\"comments\"";
}

$class = 'elgg-comments';
Expand Down

0 comments on commit caea1ab

Please sign in to comment.