mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-22 23:03:00 +08:00
Show last page message only after second page [SCI-6761]
This commit is contained in:
parent
892b5e2348
commit
36ae58872f
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