Bugfix concerning trimmed chats.

Chats were being trimmed even though there was enough room.
This commit is contained in:
JC Brand 2014-09-15 20:08:13 +02:00
parent bab04a4d97
commit 3a30f30fb7
2 changed files with 2 additions and 1 deletions

View File

@ -2918,7 +2918,7 @@
_.each(this.getAll(), function (view) { _.each(this.getAll(), function (view) {
var id = view.model.get('id'); var id = view.model.get('id');
if ((id !== 'controlbox') && (id !== new_id) && (!view.model.get('minimized'))) { if ((id !== 'controlbox') && (id !== new_id) && (!view.model.get('minimized')) && view.$el.is(':visible')) {
boxes_width += view.$el.outerWidth(true); boxes_width += view.$el.outerWidth(true);
} }
}); });

View File

@ -13,6 +13,7 @@ Changelog
* Converse.js now responds to XEP-0030: Service Discovery requests. [jcbrand] * Converse.js now responds to XEP-0030: Service Discovery requests. [jcbrand]
* Bugfix. Roster groups all appear offline after page reload (with prebind). * Bugfix. Roster groups all appear offline after page reload (with prebind).
See http://librelist.com/browser//conversejs/2014/8/26/problem-with-contact-list-everyone-is-offline/ [heban and jcbrand] See http://librelist.com/browser//conversejs/2014/8/26/problem-with-contact-list-everyone-is-offline/ [heban and jcbrand]
* Bugfix concerning trimmed chats. Chats were being trimmed even though there was enough room. [jcbrand]
* #62 Sound notifications will now also play when you are mentioned in a chat room. [jcbrand] * #62 Sound notifications will now also play when you are mentioned in a chat room. [jcbrand]
* #212 Bugfix. Groups weren't being show again after the live filter was cleared. [jcbrand] * #212 Bugfix. Groups weren't being show again after the live filter was cleared. [jcbrand]
* #215 (and also #75) XEP-0249: Direct MUC Invitations. [jcbrand] * #215 (and also #75) XEP-0249: Direct MUC Invitations. [jcbrand]