mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-11 10:32:24 +01:00
Scroll to top when searching is complete.
This commit is contained in:
committed by
Daan Sprenkels
parent
04cdce9ad4
commit
f50e76626c
@ -279,6 +279,10 @@ function getSongs()
|
||||
}
|
||||
pageNumSelect.val(result.current_page);
|
||||
$('.pagesize').val(result.per_page);
|
||||
refreshingSongs = false;
|
||||
if(requestViewOpen) {
|
||||
window.scrollTo(0, 0);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user