Always scroll to top when searching for new string

This commit is contained in:
Jure Grabnar 2019-07-04 15:38:15 +02:00
parent dc7fee51fa
commit 0eb09407bc

View file

@ -94,6 +94,7 @@ function applySearchCallback() {
$('.list-wrapper').show(); $('.list-wrapper').show();
$('.list-wrapper').html(data.html); $('.list-wrapper').html(data.html);
$('.list-wrapper').scrollTo(0);
} else { } else {
setDefaultViewState(); setDefaultViewState();
} }