Fixes the bottom toolbar not hiding with the header toolbar.

This commit is contained in:
fo 2014-09-18 10:12:54 +03:00
parent 360829c092
commit 6e191f4023
1 changed files with 3 additions and 3 deletions

View File

@ -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 {