Skip to content

Commit

Permalink
Remove load more button when all entries got loaded
Browse files Browse the repository at this point in the history
[changelog:added]
  • Loading branch information
cdupuis committed Nov 26, 2018
1 parent e974648 commit 6b084bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/signatures.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
});
if (data.meta && data.meta.next) {
next = data.meta.next;
} else {
next = undefined;
$("#load_more").fadeOut();
}
$("#signatures").append(items);
$("li:hidden").slideDown();
Expand Down

0 comments on commit 6b084bc

Please sign in to comment.