From 52344ff74111345aedc2cf493b7137654d7b4e73 Mon Sep 17 00:00:00 2001 From: paweldomas Date: Thu, 13 Oct 2016 10:34:32 -0500 Subject: [PATCH] fix(ToolbarToggler): restore 'force' arg in timeout logic --- modules/UI/toolbars/ToolbarToggler.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/UI/toolbars/ToolbarToggler.js b/modules/UI/toolbars/ToolbarToggler.js index 2fb000cb1..f53e54b5c 100644 --- a/modules/UI/toolbars/ToolbarToggler.js +++ b/modules/UI/toolbars/ToolbarToggler.js @@ -34,8 +34,9 @@ function hideToolbar(force) { // eslint-disable-line no-unused-vars clearTimeout(toolbarTimeoutObject); toolbarTimeoutObject = null; - if (Toolbar.isHovered() - || SideContainerToggler.isVisible()) { + if (true !== force && + (Toolbar.isHovered() + || SideContainerToggler.isVisible())) { toolbarTimeoutObject = setTimeout(hideToolbar, toolbarTimeout); } else { Toolbar.hide();