Preventing default action on modal-close

This commit is contained in:
Kasper Rynning-Tønnesen
2016-11-17 18:04:18 +01:00
parent d3bd4c5db9
commit 3629d82499
3 changed files with 7 additions and 3 deletions

View File

@@ -413,6 +413,10 @@ $(document).on("click", ".prev_page", function(e){
List.dynamicContentPage(-1);
});
$(document).on("click", ".modal-close", function(e){
e.preventDefault();
});
$(document).on("click", ".next_page", function(e){
e.preventDefault();
List.dynamicContentPage(1);