aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/driver.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-18 13:46:56 -0700
committerAlex Yatskov <alex@foosoft.net>2017-03-18 13:46:56 -0700
commitf3f6139c8ebe2ae02291e950f9cc6915ae45b6dc (patch)
tree7ac5fb243cd9ba0db750478a9460594ebed05501 /ext/fg/js/driver.js
parent57697ee2a09dd5ad0a567b7104e4a5ac9a4f1b23 (diff)
update guide
Diffstat (limited to 'ext/fg/js/driver.js')
-rw-r--r--ext/fg/js/driver.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/fg/js/driver.js b/ext/fg/js/driver.js
index fbe89ab8..16b12d5e 100644
--- a/ext/fg/js/driver.js
+++ b/ext/fg/js/driver.js
@@ -105,6 +105,9 @@ window.driver = new class {
const handlers = new class {
api_optionsSet(options) {
this.options = options;
+ if (!this.options.enable) {
+ this.searchClear();
+ }
}
};