diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2020-01-25 18:18:40 +0200 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2020-02-09 21:51:33 +0200 |
commit | f29abfc5115b06281c18467d7cf7b43bf133da82 (patch) | |
tree | a802e5627650ea8fd24b16096267506ab443594d /ext/bg | |
parent | 679e42c21ccc3ab778f4b26406b353769e171878 (diff) |
use correct optionsContext
Diffstat (limited to 'ext/bg')
-rw-r--r-- | ext/bg/js/backend.js | 3 |
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'); |