mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-04 06:36:27 +08:00
Merge pull request #4061 from aignatov-bio/ai-sci-6761-pagination-show-last-page-message-after-second-page
Show last page message only after second page [SCI-6761]
This commit is contained in:
commit
870a037508
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ var InfiniteScroll = (function() {
|
|||
$container.data('next-page', result.next_page);
|
||||
} else {
|
||||
$container.addClass('last-page');
|
||||
if ($container.data('config').endOfListTemplate) {
|
||||
if ($container.data('config').endOfListTemplate && page > 2) {
|
||||
$($($container.data('config').endOfListTemplate).html()).appendTo($container);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue