Commit 1c3b6127 authored by JC Brand's avatar JC Brand

Bugfix. Don't trim the newly opened (and only current) chat.

parent 516def29
......@@ -2974,7 +2974,7 @@
if ((minimized_width + boxes_width + controlbox_width) > this.$el.outerWidth(true)) {
oldest_chat = this.getOldestMaximizedChat();
if (oldest_chat) {
if (oldest_chat && oldest_chat.get('id') !== new_id) {
oldest_chat.minimize();
}
}
......
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