Skip to content
This repository has been archived by the owner on Jan 13, 2019. It is now read-only.

Commit

Permalink
Fixed incorrect class name for getNext() function from 'previous' to …
Browse files Browse the repository at this point in the history
…'next'.
  • Loading branch information
lareeth committed Jan 9, 2014
1 parent 4cf8cd4 commit bc51e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kmd/Pagination/BootstrapPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function getPrevious($text = null)
public function getNext($text = null)
{
$text = \Config::get('pagination::slider.next_link_text', $text);
$class = \Config::get('pagination::align_simple') ? 'previous' : '';
$class = \Config::get('pagination::align_simple') ? 'next' : '';
// If the current page is greater than or equal to the last page, it means we
// can't go any further into the pages, as we're already on this last page
// that is available, so we will make it the "next" link style disabled.
Expand Down

0 comments on commit bc51e0f

Please sign in to comment.