瀏覽代碼

Document allow_dragresize option.

JC Brand 10 年之前
父節點
當前提交
f3e2de9945
共有 2 個文件被更改,包括 11 次插入2 次删除
  1. 2 2
      converse.js
  2. 9 0
      docs/source/configuration.rst

+ 2 - 2
converse.js

@@ -107,8 +107,8 @@
         },
         },
         refreshWebkit: function () {
         refreshWebkit: function () {
             /* This works around a webkit bug. Refresh the browser's viewport,
             /* This works around a webkit bug. Refresh the browser's viewport,
-            * otherwise chatboxes are not moved along when one is closed.
-            */
+             * otherwise chatboxes are not moved along when one is closed.
+             */
             if ($.browser.webkit) {
             if ($.browser.webkit) {
                 var conversejs = document.getElementById('conversejs');
                 var conversejs = document.getElementById('conversejs');
                 conversejs.style.display = 'none';
                 conversejs.style.display = 'none';

+ 9 - 0
docs/source/configuration.rst

@@ -122,6 +122,15 @@ Allow users to add one another as contacts. If this is set to false, the
 sections will all not appear. Additionally, all incoming contact requests will be
 sections will all not appear. Additionally, all incoming contact requests will be
 ignored.
 ignored.
 
 
+allow_dragresize
+----------------
+
+* Default: ``true``
+
+Allow users to resize chats by dragging the edges. Currently only supports
+vertical resizing, horizontal resizing coming soon.
+
+
 allow_muc
 allow_muc
 ---------
 ---------