Commit 8c799efc authored by JC Brand's avatar JC Brand

Don't minimize chats by clicking the header

This prevents the burger menu from opening
parent 9f0dfcdb
......@@ -447,7 +447,6 @@
height: calc(100% - var(--overlayed-chat-head-height));
}
.chatbox-title {
cursor: pointer;
padding: 0.5rem 0.75rem 0 0.75rem;
}
.chatbox-title--no-desc {
......@@ -455,7 +454,8 @@
}
converse-dropdown {
.btn--standalone {
padding: 0 0 0 0.5em;
padding: 0 0.2em;
margin: 0 0 0 0.5em;
}
}
}
......
......@@ -681,8 +681,7 @@ describe("Groupchats", function () {
const toggle = view.el.querySelector('.hide-topic');
expect(toggle.textContent).toBe('Hide topic');
toggle.click();
await u.waitUntil(() => !u.isVisible(topic_el));
expect(view.el.querySelector('.hide-topic').textContent).toBe('Show topic');
await u.waitUntil(() => view.el.querySelector('.hide-topic').textContent === 'Show topic');
done();
}));
......
......@@ -172,7 +172,6 @@ converse.plugins.add('converse-chatview', {
events: {
'click .chatbox-navback': 'showControlBox',
'click .chatbox-title': 'minimize',
'click .new-msgs-indicator': 'viewUnreadMessages',
'click .send-button': 'onFormSubmitted',
'click .toggle-clear': 'clearMessages',
......
......@@ -163,7 +163,6 @@ converse.plugins.add('converse-muc-views', {
is_chatroom: true,
events: {
'click .chatbox-navback': 'showControlBox',
'click .chatbox-title': 'minimize',
'click .hide-occupants': 'hideOccupants',
'click .new-msgs-indicator': 'viewUnreadMessages',
// Arrow functions don't work here because you can't bind a different `this` param to them.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment