Forráskód Böngészése

Control box toggle's class has been changed.

JC Brand 11 éve
szülő
commit
f0091c9c9c
3 módosított fájl, 3 hozzáadás és 3 törlés
  1. 1 1
      docs/source/index.rst
  2. 1 1
      spec/controlbox.js
  3. 1 1
      tests/utils.js

+ 1 - 1
docs/source/index.rst

@@ -998,7 +998,7 @@ The "controlbox" refers to the special chatbox containing your contacts roster,
 status widget, chatrooms and other controls.
 
 By default this box is hidden and can be toggled by clicking on any element in
-the page with class *toggle-online-users*.
+the page with class *toggle-controlbox*.
 
 If this options is set to true, the controlbox will by default be shown upon
 page load.

+ 1 - 1
spec/controlbox.js

@@ -494,7 +494,7 @@
             runs(function () {
                 utils.closeAllChatBoxes();
             });
-            waits(250);
+            waits(50);
             runs(function () {
                 utils.openControlBox();
             });

+ 1 - 1
tests/utils.js

@@ -41,7 +41,7 @@
     };
 
     utils.openControlBox = function () {
-        var toggle = $(".toggle-online-users");
+        var toggle = $(".toggle-controlbox");
         if (!$("#controlbox").is(':visible')) {
             if (!toggle.is(':visible')) {
                 toggle.show(toggle.click);