Commit c4a81010 authored by JC Brand's avatar JC Brand

Bugfix. Make sure to hide the filter type as well.

parent 3bbcf237
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -3491,6 +3491,7 @@
showHideFilter: function () {
var $filter = this.$('.roster-filter');
var $type = this.$('.filter-type');
var visible = $filter.is(':visible');
if (visible && $filter.val().length > 0) {
// Don't hide if user is currently filtering.
......@@ -3499,9 +3500,11 @@
if (this.$('.roster-contacts').hasScrollBar()) {
if (!visible) {
$filter.show();
$type.show();
}
} else {
$filter.hide();
$type.hide();
}
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