From b8fddd96c83e44d6d5aa8f5eeaa233674f59c4b7 Mon Sep 17 00:00:00 2001 From: siikamiika Date: Sun, 8 Dec 2019 11:10:19 +0200 Subject: fix popup preview resolves #302 --- ext/bg/js/settings/popup-preview-frame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/bg/js/settings') 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(); } -- cgit v1.2.3