Bugfix. Make sure to hide the filter type as well.
This commit is contained in:
parent
3bbcf237ee
commit
c4a8101070
2
builds/converse-no-locales-no-otr.min.js
vendored
2
builds/converse-no-locales-no-otr.min.js
vendored
File diff suppressed because one or more lines are too long
2
builds/converse-no-otr.min.js
vendored
2
builds/converse-no-otr.min.js
vendored
File diff suppressed because one or more lines are too long
2
builds/converse.min.js
vendored
2
builds/converse.min.js
vendored
File diff suppressed because one or more lines are too long
2
builds/converse.website-no-otr.min.js
vendored
2
builds/converse.website-no-otr.min.js
vendored
File diff suppressed because one or more lines are too long
2
builds/converse.website.min.js
vendored
2
builds/converse.website.min.js
vendored
File diff suppressed because one or more lines are too long
@ -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;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user