Fix indent
This commit is contained in:
parent
f6cf37c90c
commit
c01e26cfa7
@ -333,28 +333,28 @@ var TreeStyleTabWindowHelper = {
|
|||||||
}, 'treeStyleTab');
|
}, 'treeStyleTab');
|
||||||
}
|
}
|
||||||
|
|
||||||
SidebarUI.__treestyletab__show = SidebarUI.show;
|
SidebarUI.__treestyletab__show = SidebarUI.show;
|
||||||
SidebarUI.show = function(...aArgs) {
|
SidebarUI.show = function(...aArgs) {
|
||||||
var opened = this.isOpen;
|
var opened = this.isOpen;
|
||||||
var width = this.browser.boxObject.width;
|
var width = this.browser.boxObject.width;
|
||||||
return this.__treestyletab__show.apply(this, aArgs)
|
return this.__treestyletab__show.apply(this, aArgs)
|
||||||
.then((function(aResult) {
|
.then((function(aResult) {
|
||||||
if (opened !== this.isOpen ||
|
if (opened !== this.isOpen ||
|
||||||
width !== this.browser.boxObject.width)
|
width !== this.browser.boxObject.width)
|
||||||
gBrowser.treeStyleTab.updateFloatingTabbar(gBrowser.treeStyleTab.kTABBAR_UPDATE_BY_TOGGLE_SIDEBAR);
|
gBrowser.treeStyleTab.updateFloatingTabbar(gBrowser.treeStyleTab.kTABBAR_UPDATE_BY_TOGGLE_SIDEBAR);
|
||||||
return aResult;
|
return aResult;
|
||||||
}).bind(this));
|
}).bind(this));
|
||||||
};
|
};
|
||||||
SidebarUI.__treestyletab__hide = SidebarUI.hide;
|
SidebarUI.__treestyletab__hide = SidebarUI.hide;
|
||||||
SidebarUI.hide = function(...aArgs) {
|
SidebarUI.hide = function(...aArgs) {
|
||||||
var opened = this.isOpen;
|
var opened = this.isOpen;
|
||||||
var width = this.browser.boxObject.width;
|
var width = this.browser.boxObject.width;
|
||||||
var retVal = this.__treestyletab__hide.apply(this, aArgs);
|
var retVal = this.__treestyletab__hide.apply(this, aArgs);
|
||||||
if (opened !== this.isOpen ||
|
if (opened !== this.isOpen ||
|
||||||
width !== this.browser.boxObject.width)
|
width !== this.browser.boxObject.width)
|
||||||
gBrowser.treeStyleTab.updateFloatingTabbar(gBrowser.treeStyleTab.kTABBAR_UPDATE_BY_TOGGLE_SIDEBAR);
|
gBrowser.treeStyleTab.updateFloatingTabbar(gBrowser.treeStyleTab.kTABBAR_UPDATE_BY_TOGGLE_SIDEBAR);
|
||||||
return retVal;
|
return retVal;
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
_splitFunctionNames : function TSTWH__splitFunctionNames(aString)
|
_splitFunctionNames : function TSTWH__splitFunctionNames(aString)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user