Merge pull request #273 from zoff-music/feature/embed-fixes

last and first page buttons for embedded version
This commit is contained in:
Kasper Rynning-Tønnesen
2018-01-25 10:02:43 +01:00
committed by GitHub
2 changed files with 12 additions and 1 deletions

View File

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

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);
});