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

@@ -398,10 +398,11 @@ color: white;
padding: 0 5px; padding: 0 5px;
} }
/*
.last_page, .last_page_hide, .first_page, .first_page_hide{ .last_page, .last_page_hide, .first_page, .first_page_hide{
display: none !important; display: none !important;
} }
*/
#wrapper{ #wrapper{
/*height: 94%;*/ /*height: 94%;*/
} }

View File

@@ -164,3 +164,13 @@ $(document).on("click", ".next_page", function(e) {
e.preventDefault(); e.preventDefault();
List.dynamicContentPage(1); 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);
});