Преглед на файлове

Control box toggle's class has been changed.

JC Brand преди 11 години
родител
ревизия
f0091c9c9c
променени са 3 файла, в които са добавени 3 реда и са изтрити 3 реда
  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);