aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/backend.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 2fb7711f..3cb9ce1d 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -585,8 +585,7 @@ class Backend {
async _onCommandSearch(params) {
const {mode, query} = params || {};
- const optionsContext = {depth: 0};
- const options = await this.getOptions(optionsContext);
+ const options = await this.getOptions(this.optionsContext);
const {popupWidth, popupHeight} = options.general;
const baseUrl = chrome.runtime.getURL('/bg/search.html');