mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-27 03:44:19 +00:00
9 lines
244 B
JavaScript
9 lines
244 B
JavaScript
List.updatePagination = function(list) {
|
|
pagination = list.listContainer.querySelector(".pagination");
|
|
if (pagination.childElementCount <= 1) {
|
|
pagination.classList.add("hide");
|
|
} else {
|
|
pagination.classList.remove("hide");
|
|
}
|
|
}
|