summaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/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 90e9fce8..239027f7 100644
--- a/ext/bg/js/search.js
+++ b/ext/bg/js/search.js
@@ -255,7 +255,7 @@ class DisplaySearch extends Display {
this.clearContent();
}
this._setTitleText(query);
- window.parent.postMessage('popupClose', '*');
+ yomichan.trigger('closePopups');
} catch (e) {
this.onError(e);
}