aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-11-13 21:19:01 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-11-13 21:19:01 +0200
commit7d9d45ae10302582ce7431bd72ec4f8604dc5e65 (patch)
tree3c3c463094d316d74ed396e72edb36471bcb7d96 /ext/bg/js
parent29c38b06b2fd700e7dbf49013ad91d473e65e812 (diff)
close popups on search page when query changes
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/search.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js
index 6f512604..dccc7da7 100644
--- a/ext/bg/js/search.js
+++ b/ext/bg/js/search.js
@@ -216,6 +216,7 @@ class DisplaySearch extends Display {
} else {
this.container.textContent = '';
}
+ window.parent.postMessage('popupClose', '*');
} catch (e) {
this.onError(e);
}