this.controller,
this.model,
{
- $overlay: config.$overlay || this.$element
+ $overlay: config.$overlay || this.$element,
+ title: mw.msg( 'rcfilters-highlightmenu-help' )
}
);
this.highlightButton.toggle( this.model.isHighlightEnabled() );
this.$element.toggleClass(
'mw-rcfilters-ui-filterItemWidget-muted',
this.model.isConflicted() ||
- this.model.isIncluded() ||
(
// Item is also muted when any of the items in its group is active
this.model.getGroupModel().isActive() &&
// But it isn't selected
- !this.model.isSelected()
+ !this.model.isSelected() &&
+ // And also not included
+ !this.model.isIncluded()
)
);