Return boolean value for "isXXX" property
This commit is contained in:
parent
6802444a23
commit
cd46194bb0
@ -283,12 +283,13 @@ TreeStyleTabWindow.prototype = inherit(TreeStyleTabBase, {
|
|||||||
|
|
||||||
get isAutoHide()
|
get isAutoHide()
|
||||||
{
|
{
|
||||||
return this.window.fullScreen ?
|
if (this.window.fullScreen)
|
||||||
(
|
return Boolean(
|
||||||
prefs.getPref('browser.fullscreen.autohide') &&
|
prefs.getPref('browser.fullscreen.autohide') &&
|
||||||
utils.getTreePref('tabbar.autoHide.mode.fullscreen')
|
utils.getTreePref('tabbar.autoHide.mode.fullscreen')
|
||||||
) :
|
);
|
||||||
utils.getTreePref('tabbar.autoHide.mode');
|
|
||||||
|
return utils.getTreePref('tabbar.autoHide.mode') != this.autoHide.kMODE_DISABLED;
|
||||||
},
|
},
|
||||||
|
|
||||||
get autoHideWindow()
|
get autoHideWindow()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user