Fix scrolling on first search
This commit is contained in:
parent
c95f4b78f1
commit
d55c051104
|
@ -671,6 +671,9 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
async doSearch () {
|
async doSearch () {
|
||||||
|
// First search, scroll to top
|
||||||
|
if (this.searchDone !== true) this.scrollToTop()
|
||||||
|
|
||||||
this.results = []
|
this.results = []
|
||||||
|
|
||||||
Nprogress.start()
|
Nprogress.start()
|
||||||
|
|
Loading…
Reference in New Issue