summaryrefslogtreecommitdiff
path: root/ext/fg/js/frontend.js
diff options
context:
space:
mode:
authorAlex Yatskov <FooSoft@users.noreply.github.com>2019-10-05 19:48:21 -0700
committerGitHub <noreply@github.com>2019-10-05 19:48:21 -0700
commita4d2bde5dfbe17c03e5aede38ccd4b27753aef48 (patch)
tree7f60cf5f6004145496351139e42d4b5c71cfbb5a /ext/fg/js/frontend.js
parentbac237336e4578e339069a8d9d8f83703a3cee5d (diff)
parent113cc725c1764e5eb814a22ace23a7e7150d016f (diff)
Merge pull request #240 from toasted-nutbread/fix-focus
Fix focus
Diffstat (limited to 'ext/fg/js/frontend.js')
-rw-r--r--ext/fg/js/frontend.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js
index 58dc0e4a..4ad78aa7 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -145,7 +145,7 @@ class Frontend {
}
onResize() {
- this.searchClear(true);
+ this.searchClear(false);
}
onClick(e) {
@@ -527,8 +527,8 @@ Frontend.runtimeMessageHandlers = {
self.updateOptions();
},
- popupSetVisible: (self, {visible}) => {
- self.popup.setVisible(visible);
+ popupSetVisibleOverride: (self, {visible}) => {
+ self.popup.setVisibleOverride(visible);
}
};