Hopefully fixed error with 'reloading every click'

This commit is contained in:
Kasper Rynning-Tønnesen
2016-11-17 15:58:52 +01:00
parent 90f8a8f1a6
commit 8c218d1086
5 changed files with 15 additions and 9 deletions

View File

@@ -408,11 +408,13 @@ $(document).on("click", "#closePlayer", function(e){
$("#closePlayer").remove();
});
$(document).on("click", ".prev_page", function(){
$(document).on("click", ".prev_page", function(e){
e.preventDefault();
List.dynamicContentPage(-1);
});
$(document).on("click", ".next_page", function(){
$(document).on("click", ".next_page", function(e){
e.preventDefault();
List.dynamicContentPage(1);
});