浏览代码

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);