mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-05 22:44:22 +08:00
Always scroll to top when searching for new string
This commit is contained in:
parent
dc7fee51fa
commit
0eb09407bc
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ function applySearchCallback() {
|
|||
$('.list-wrapper').show();
|
||||
|
||||
$('.list-wrapper').html(data.html);
|
||||
$('.list-wrapper').scrollTo(0);
|
||||
} else {
|
||||
setDefaultViewState();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue