Fixes the bottom toolbar not hiding with the header toolbar.

pull/134/head
fo 10 years ago
parent 360829c092
commit 6e191f4023
  1. 6
      toolbar_toggler.js

@ -13,7 +13,7 @@ var ToolbarToggler = (function(my) {
header.show("slide", { direction: "up", duration: 300}); header.show("slide", { direction: "up", duration: 300});
$('#subject').animate({top: "+=40"}, 300); $('#subject').animate({top: "+=40"}, 300);
if(!bottomToolbar.is(":visible")) { if(!bottomToolbar.is(":visible")) {
bottomToolbar.show("slide", {direction: "right",cduration: 300}); bottomToolbar.show("slide", {direction: "right",duration: 300});
} }
if (toolbarTimeout) { if (toolbarTimeout) {
@ -57,8 +57,8 @@ var ToolbarToggler = (function(my) {
if (!isToolbarHover) { if (!isToolbarHover) {
header.hide("slide", { direction: "up", duration: 300}); header.hide("slide", { direction: "up", duration: 300});
$('#subject').animate({top: "-=40"}, 300); $('#subject').animate({top: "-=40"}, 300);
if(!$("#remoteVideos").is(":visible")) { if($("#remoteVideos").hasClass("hidden")) {
bottomToolbar.hide("slide", {direction: "right", cduration: 300}); bottomToolbar.hide("slide", {direction: "right", duration: 300});
} }
} }
else { else {

Loading…
Cancel
Save