فهرست منبع

Disable custom sizing of the sidebar for now

Until it can be properly implemented again.
JC Brand 11 ماه پیش
والد
کامیت
e54f8770f9
2فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  1. 0 2
      src/plugins/muc-views/templates/muc-chatarea.js
  2. 1 1
      src/plugins/register/tests/register.js

+ 0 - 2
src/plugins/muc-views/templates/muc-chatarea.js

@@ -11,7 +11,6 @@ const { CHATROOMS_TYPE } = constants;
  * @param {import('../chatarea').default} el
  */
 export default (el) => {
-    const sidebar_width = el.model.get('occupants_width');
     const show_send_button = api.settings.get('show_send_button');
     const view_mode = api.settings.get('view_mode');
 
@@ -46,7 +45,6 @@ export default (el) => {
         ${el.model ? html`
             <converse-muc-sidebar
                 class="occupants ${el.shouldShowSidebar() ? sidebar_classes : 'col-xs-0 hidden' }"
-                style="${sidebar_width ? `flex: 0 0 ${sidebar_width}px` : ''}"
                 jid=${el.jid}
                 @mousedown=${(ev) => el.onMousedown(ev)}></converse-muc-sidebar>` : '' }`
 };

+ 1 - 1
src/plugins/register/tests/register.js

@@ -3,7 +3,7 @@
 const { stx, Strophe, $iq, sizzle, u } = converse.env;
 
 
-fdescribe("The Registration Panel", function () {
+describe("The Registration Panel", function () {
 
     afterEach(() => {
         // Remove the hash