From af4c15f08dccc195b20461ae438d01ec5a001767 Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Fri, 25 Sep 2015 14:36:20 +0900 Subject: [PATCH] Report the reason why the tab bar is collapsed/expanded --- modules/autoHide.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/autoHide.js b/modules/autoHide.js index 4754cb89..18453ce6 100644 --- a/modules/autoHide.js +++ b/modules/autoHide.js @@ -930,7 +930,7 @@ AutoHideBrowser.prototype = inherit(AutoHideBase.prototype, { this.showHideReason |= aReason; } if (!this.expanded) - this.showHideInternal(); + this.showHideInternal(aReason); }, hide : function AHB_hide(aReason) /* PUBLIC API */ @@ -950,7 +950,7 @@ AutoHideBrowser.prototype = inherit(AutoHideBase.prototype, { return; } if (this.expanded) - this.showHideInternal(); + this.showHideInternal(aReason); }, onShowing : function AHB_onShowing()