aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/search.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-12-21 19:19:59 -0500
committerGitHub <noreply@github.com>2020-12-21 19:19:59 -0500
commit18043babeb8735a7707f273eab2b9364aa42ab7a (patch)
treef09a32ff7f7d471761234698f922dd88d0ef9335 /ext/bg/js/search.js
parent9dd2a9c98e72f1e546499057d48b8bbe3c5eb330 (diff)
Improve query parser scanning (#1154)
* Improve how the search page updates after settings have changed * Always update the history on the first scan of the query parser
Diffstat (limited to 'ext/bg/js/search.js')
-rw-r--r--ext/bg/js/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js
index 85efc7a0..884ab33c 100644
--- a/ext/bg/js/search.js
+++ b/ext/bg/js/search.js
@@ -144,7 +144,7 @@ class DisplaySearch extends Display {
await this.updateOptions();
const query = this._queryInput.value;
if (query) {
- this._search(false, false);
+ this.searchLast();
}
}