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

Commit

Permalink
Merge pull request #3 from lareeth/master
Browse files Browse the repository at this point in the history
Fixed incorrect class name for getNext() function from 'previous' to 'next'.
  • Loading branch information
mikemand committed Jan 9, 2014
2 parents 4cf8cd4 + bc51e0f commit 69b94f9
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 69b94f9

Please sign in to comment.