Remove needless wrapper
This commit is contained in:
parent
fad308b234
commit
66e2b5f5b1
@ -12,7 +12,6 @@ var TreeStyleTabWindowHelper = {
|
|||||||
|
|
||||||
preInit : function TSTWH_preInit()
|
preInit : function TSTWH_preInit()
|
||||||
{
|
{
|
||||||
TreeStyleTabUtils.doPatching(gBrowserInit._delayedStartup, 'gBrowserInit._delayedStartup', function(aName, aSource) {
|
|
||||||
// Replacing of gBrowserInit._delayedStartup() with eval()
|
// Replacing of gBrowserInit._delayedStartup() with eval()
|
||||||
// breaks the variable scope of the function and break its
|
// breaks the variable scope of the function and break its
|
||||||
// functionality completely.
|
// functionality completely.
|
||||||
@ -25,7 +24,6 @@ var TreeStyleTabWindowHelper = {
|
|||||||
TreeStyleTabWindowHelper.runningDelayedStartup = false;
|
TreeStyleTabWindowHelper.runningDelayedStartup = false;
|
||||||
return retVal;
|
return retVal;
|
||||||
};
|
};
|
||||||
}, 'TreeStyleTab');
|
|
||||||
|
|
||||||
nsBrowserAccess.prototype.__treesytletab__openURI = nsBrowserAccess.prototype.openURI;
|
nsBrowserAccess.prototype.__treesytletab__openURI = nsBrowserAccess.prototype.openURI;
|
||||||
nsBrowserAccess.prototype.openURI = function(aURI, aOpener, aWhere, aContext) {
|
nsBrowserAccess.prototype.openURI = function(aURI, aOpener, aWhere, aContext) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user