Commit 6abd805b authored by JC Brand's avatar JC Brand

Call trimChats immediately, not only after the element is visible

Since the element will already be taking up space (due to the
`opacity:0` property being used, instead of `display:none`).
parent 9edc9710
...@@ -113,8 +113,8 @@ ...@@ -113,8 +113,8 @@
return this.__super__.initialize.apply(this, arguments); return this.__super__.initialize.apply(this, arguments);
}, },
afterShown: function () { _show: function () {
this.__super__.afterShown.apply(this, arguments); this.__super__._show.apply(this, arguments);
if (!this.model.get('minimized')) { if (!this.model.get('minimized')) {
converse.chatboxviews.trimChats(this); converse.chatboxviews.trimChats(this);
} }
......
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