parent
9999d7f135
commit
c03ad9eaff
@ -1138,7 +1138,7 @@ TreeStyleTabWindow.prototype = {
|
|||||||
onBeforeBrowserAccessOpenURI : function TSTWindow_onBeforeBrowserAccessOpenURI(aOpener, aWhere)
|
onBeforeBrowserAccessOpenURI : function TSTWindow_onBeforeBrowserAccessOpenURI(aOpener, aWhere)
|
||||||
{
|
{
|
||||||
if (aOpener &&
|
if (aOpener &&
|
||||||
aOpener.top == this.browser.contentWindow &&
|
this.getTabFromFrame(aOpener.top) &&
|
||||||
aWhere == Ci.nsIBrowserDOMWindow.OPEN_NEWTAB)
|
aWhere == Ci.nsIBrowserDOMWindow.OPEN_NEWTAB)
|
||||||
this.handleNewTabFromCurrent(aOpener);
|
this.handleNewTabFromCurrent(aOpener);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user