diff options
| author | siikamiika <siikamiika@users.noreply.github.com> | 2019-11-13 21:19:01 +0200 | 
|---|---|---|
| committer | siikamiika <siikamiika@users.noreply.github.com> | 2019-11-13 21:19:01 +0200 | 
| commit | 7d9d45ae10302582ce7431bd72ec4f8604dc5e65 (patch) | |
| tree | 3c3c463094d316d74ed396e72edb36471bcb7d96 | |
| parent | 29c38b06b2fd700e7dbf49013ad91d473e65e812 (diff) | |
close popups on search page when query changes
| -rw-r--r-- | ext/bg/js/search.js | 1 | 
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);          } |