Replace $root.showSearch()
with app.appRoute('search')
`$root.showSearch()` prevents going back to previous page from sidebar.
This commit is contained in:
parent
251dc25ac4
commit
b51e44a2f7
1 changed files with 2 additions and 2 deletions
|
@ -7,11 +7,11 @@
|
||||||
<input
|
<input
|
||||||
type="search"
|
type="search"
|
||||||
spellcheck="false"
|
spellcheck="false"
|
||||||
@click="$root.showSearch()"
|
@click="app.appRoute('search');"
|
||||||
@focus="$root.search.showHints = true"
|
@focus="$root.search.showHints = true"
|
||||||
@blur="$root.setTimeout(()=>{$root.search.showHints = false}, 300)"
|
@blur="$root.setTimeout(()=>{$root.search.showHints = false}, 300)"
|
||||||
v-on:keyup.enter="$root.searchQuery();$root.search.showHints = false"
|
v-on:keyup.enter="$root.searchQuery();$root.search.showHints = false"
|
||||||
@change="$root.showSearch();"
|
@change="app.appRoute('search');"
|
||||||
@input="$root.getSearchHints()"
|
@input="$root.getSearchHints()"
|
||||||
:placeholder="$root.getLz('term.search') + '...'"
|
:placeholder="$root.getLz('term.search') + '...'"
|
||||||
v-model="$root.search.term"
|
v-model="$root.search.term"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue