Fix scrolling on first search

This commit is contained in:
Chocobozzz 2020-09-24 10:10:50 +02:00
parent c95f4b78f1
commit d55c051104
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 0 deletions

View File

@ -671,6 +671,9 @@
},
async doSearch () {
// First search, scroll to top
if (this.searchDone !== true) this.scrollToTop()
this.results = []
Nprogress.start()