aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-12-08 11:10:19 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-12-08 11:10:19 +0200
commitb8fddd96c83e44d6d5aa8f5eeaa233674f59c4b7 (patch)
tree4f1cde73e2f215bd819791527c28df447f0fb512 /ext/bg/js/settings
parentb862035fbc20449786a14f3f0b82828b8eb73c5c (diff)
fix popup preview
resolves #302
Diffstat (limited to 'ext/bg/js/settings')
-rw-r--r--ext/bg/js/settings/popup-preview-frame.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/settings/popup-preview-frame.js b/ext/bg/js/settings/popup-preview-frame.js
index 49409968..73326322 100644
--- a/ext/bg/js/settings/popup-preview-frame.js
+++ b/ext/bg/js/settings/popup-preview-frame.js
@@ -160,7 +160,7 @@ class SettingsPopupPreview {
const source = new TextSourceRange(range, range.toString(), null);
try {
- await this.frontend.searchSource(source, 'script');
+ await this.frontend.onSearchSource(source, 'script');
} finally {
source.cleanup();
}