Преглед изворни кода

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.
 status widget, chatrooms and other controls.
 
 
 By default this box is hidden and can be toggled by clicking on any element in
 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
 If this options is set to true, the controlbox will by default be shown upon
 page load.
 page load.

+ 1 - 1
spec/controlbox.js

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

+ 1 - 1
tests/utils.js

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