Correct spelling of WebExtensions
Spelling as per https://wiki.mozilla.org/WebExtensions
This commit is contained in:
parent
21bc06cfeb
commit
8abc2d8ef0
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ export default class OperationInteractor {
|
||||||
let us = urls.homepageUrls(result.value);
|
let us = urls.homepageUrls(result.value);
|
||||||
if (us.length === 1 && us[0] === 'about:home') {
|
if (us.length === 1 && us[0] === 'about:home') {
|
||||||
// eslint-disable-next-line max-len
|
// eslint-disable-next-line max-len
|
||||||
throw new Error('Cannot open Firefox Home (about:home) by WebExnteions, set your custom URLs');
|
throw new Error('Cannot open Firefox Home (about:home) by WebExtensions, set your custom URLs');
|
||||||
}
|
}
|
||||||
if (us.length === 1 && !newTab) {
|
if (us.length === 1 && !newTab) {
|
||||||
return this.tabPresenter.open(us[0], tab.id);
|
return this.tabPresenter.open(us[0], tab.id);
|
||||||
|
|
Reference in a new issue