Переглянути джерело

Document allow_dragresize option.

JC Brand 9 роки тому
батько
коміт
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
 ---------
 ---------