Merge pull request #134 from fouksf/bottom-toolbar-fix

Fixes the bottom toolbar not hiding with the header toolbar.
This commit is contained in:
bgrozev 2014-09-18 10:17:10 +03:00
commit 97f9a40cfa
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 {