last and first page buttons for embedded version

This commit is contained in:
Kasper Rynning-Tønnesen
2018-01-25 10:01:45 +01:00
parent 99af0e8339
commit 2403646488
2 changed files with 12 additions and 1 deletions

View File

@@ -164,3 +164,13 @@ $(document).on("click", ".next_page", function(e) {
e.preventDefault();
List.dynamicContentPage(1);
});
$(document).on("click", ".last_page", function(e){
e.preventDefault();
List.dynamicContentPage(10);
});
$(document).on("click", ".first_page", function(e){
e.preventDefault();
List.dynamicContentPage(-10);
});