clear Display history on search page lookup
This commit is contained in:
parent
1dd88763de
commit
71a117c267
@ -221,7 +221,8 @@ class DisplaySearch extends Display {
|
|||||||
this.setContentTerms(definitions, {
|
this.setContentTerms(definitions, {
|
||||||
focus: false,
|
focus: false,
|
||||||
sentence: {text: query, offset: 0},
|
sentence: {text: query, offset: 0},
|
||||||
url: window.location.href
|
url: window.location.href,
|
||||||
|
clearHistoryOnce: true
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.container.textContent = '';
|
this.container.textContent = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user