Commit b90ad3aa authored by JC Brand's avatar JC Brand

Don't check visibility before hiding.

In some cases the element is not visible,but we want to set 'display: None'
regardless, for example in cases where you only want one single chat of
multiple to be visible at any one time, while hiding it behind a sidebar.
parent d2933b89
......@@ -659,10 +659,8 @@
},
hide: function () {
if (this.$el.is(':visible') && this.$el.css('opacity') === "1") {
this.$el.hide();
utils.refreshWebkit();
}
this.$el.hide();
utils.refreshWebkit();
return 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