use correct optionsContext
This commit is contained in:
parent
679e42c21c
commit
f29abfc511
@ -585,8 +585,7 @@ class Backend {
|
|||||||
async _onCommandSearch(params) {
|
async _onCommandSearch(params) {
|
||||||
const {mode, query} = params || {};
|
const {mode, query} = params || {};
|
||||||
|
|
||||||
const optionsContext = {depth: 0};
|
const options = await this.getOptions(this.optionsContext);
|
||||||
const options = await this.getOptions(optionsContext);
|
|
||||||
const {popupWidth, popupHeight} = options.general;
|
const {popupWidth, popupHeight} = options.general;
|
||||||
|
|
||||||
const baseUrl = chrome.runtime.getURL('/bg/search.html');
|
const baseUrl = chrome.runtime.getURL('/bg/search.html');
|
||||||
|
Loading…
Reference in New Issue
Block a user