Return boolean value for "isXXX" property

This commit is contained in:
YUKI Hiroshi 2015-03-03 19:10:35 +09:00
parent 6802444a23
commit cd46194bb0

View File

@ -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()