Browse Source

Fixes the bottom toolbar not hiding with the header toolbar.

j8
fo 11 years ago
parent
commit
6e191f4023
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      toolbar_toggler.js

+ 3
- 3
toolbar_toggler.js View File

13
             header.show("slide", { direction: "up", duration: 300});
13
             header.show("slide", { direction: "up", duration: 300});
14
             $('#subject').animate({top: "+=40"}, 300);
14
             $('#subject').animate({top: "+=40"}, 300);
15
             if(!bottomToolbar.is(":visible")) {
15
             if(!bottomToolbar.is(":visible")) {
16
-                bottomToolbar.show("slide", {direction: "right",cduration: 300});
16
+                bottomToolbar.show("slide", {direction: "right",duration: 300});
17
             }
17
             }
18
 
18
 
19
             if (toolbarTimeout) {
19
             if (toolbarTimeout) {
57
         if (!isToolbarHover) {
57
         if (!isToolbarHover) {
58
             header.hide("slide", { direction: "up", duration: 300});
58
             header.hide("slide", { direction: "up", duration: 300});
59
             $('#subject').animate({top: "-=40"}, 300);
59
             $('#subject').animate({top: "-=40"}, 300);
60
-            if(!$("#remoteVideos").is(":visible")) {
61
-                bottomToolbar.hide("slide", {direction: "right", cduration: 300});
60
+            if($("#remoteVideos").hasClass("hidden")) {
61
+                bottomToolbar.hide("slide", {direction: "right", duration: 300});
62
             }
62
             }
63
         }
63
         }
64
         else {
64
         else {

Loading…
Cancel
Save