From 6e191f40231ba4ea1ee8d6d58566ebf91b427bcc Mon Sep 17 00:00:00 2001 From: fo Date: Thu, 18 Sep 2014 10:12:54 +0300 Subject: [PATCH] Fixes the bottom toolbar not hiding with the header toolbar. --- toolbar_toggler.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/toolbar_toggler.js b/toolbar_toggler.js index a17bbc9a8..ce4c41ffb 100644 --- a/toolbar_toggler.js +++ b/toolbar_toggler.js @@ -13,7 +13,7 @@ var ToolbarToggler = (function(my) { header.show("slide", { direction: "up", duration: 300}); $('#subject').animate({top: "+=40"}, 300); if(!bottomToolbar.is(":visible")) { - bottomToolbar.show("slide", {direction: "right",cduration: 300}); + bottomToolbar.show("slide", {direction: "right",duration: 300}); } if (toolbarTimeout) { @@ -57,8 +57,8 @@ var ToolbarToggler = (function(my) { if (!isToolbarHover) { header.hide("slide", { direction: "up", duration: 300}); $('#subject').animate({top: "-=40"}, 300); - if(!$("#remoteVideos").is(":visible")) { - bottomToolbar.hide("slide", {direction: "right", cduration: 300}); + if($("#remoteVideos").hasClass("hidden")) { + bottomToolbar.hide("slide", {direction: "right", duration: 300}); } } else {