Merge 91fa11da75
into 1fb2c31e9a
This commit is contained in:
commit
5a9a290c9d
1 changed files with 1 additions and 2 deletions
3
index.js
3
index.js
|
@ -3,7 +3,6 @@
|
|||
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
||||
const DEFAULT_TAB = "about:newtab";
|
||||
|
||||
const SHOW_MENU_TIMEOUT = 100;
|
||||
const HIDE_MENU_TIMEOUT = 300;
|
||||
|
@ -792,7 +791,7 @@ const ContainerService = {
|
|||
}
|
||||
|
||||
return promise.then(() => {
|
||||
const tab = browserWin.gBrowser.addTab(args.url || DEFAULT_TAB, { userContextId });
|
||||
const tab = browserWin.gBrowser.addTab(args.url || browserWin.BROWSER_NEW_TAB_URL, { userContextId });
|
||||
browserWin.gBrowser.selectedTab = tab;
|
||||
browserWin.focusAndSelectUrlBar();
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue