Sfoglia il codice sorgente

Fixes the bottom toolbar not hiding with the header toolbar.

master
fo 10 anni fa
parent
commit
6e191f4023
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3
    3
      toolbar_toggler.js

+ 3
- 3
toolbar_toggler.js Vedi File

@@ -13,7 +13,7 @@ var ToolbarToggler = (function(my) {
13 13
             header.show("slide", { direction: "up", duration: 300});
14 14
             $('#subject').animate({top: "+=40"}, 300);
15 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 19
             if (toolbarTimeout) {
@@ -57,8 +57,8 @@ var ToolbarToggler = (function(my) {
57 57
         if (!isToolbarHover) {
58 58
             header.hide("slide", { direction: "up", duration: 300});
59 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 64
         else {

Loading…
Annulla
Salva