mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 271426 Make it possible for extensions to call BrowserHome() without parameters again subsequent to bug 267169 p=cst@andrew.cmu.edu r=timeless sr=me
This commit is contained in:
parent
60a5cfabbc
commit
a597c068de
@ -902,7 +902,7 @@ function BrowserHome(aEvent)
|
||||
{
|
||||
var tab;
|
||||
var homePage = getHomePage();
|
||||
var target = BookmarksUtils.getBrowserTargetFromEvent(aEvent);
|
||||
var target = aEvent ? BookmarksUtils.getBrowserTargetFromEvent(aEvent) : "current";
|
||||
|
||||
if (homePage.length == 1) {
|
||||
switch (target) {
|
||||
|
Loading…
Reference in New Issue
Block a user