Skip to content

Commit

Permalink
Update pagebreak.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ReLater committed Apr 19, 2018
1 parent 04f739f commit b7ee1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/content/pagebreak/pagebreak.php
Expand Up @@ -305,7 +305,7 @@ protected function _createToc(&$row, &$matches, &$page)
$list[$i] = new stdClass;
$list[$i]->link = JRoute::_(ContentHelperRoute::getArticleRoute($row->slug, $row->catid, $row->language) . '&showall=&limitstart=' . ($i - 1));
$list[$i]->title = $title;
$list[$i]->liClass = ($limitstart === $i - 1) ? ' class="active"' : '';
$list[$i]->liClass = ($limitstart === $i - 1) ? 'active' : '';
$list[$i]->class = ($limitstart === $i - 1) ? 'toclink active' : 'toclink';

$i++;
Expand Down

0 comments on commit b7ee1c6

Please sign in to comment.