Colored tags weren't shown in collections with no other tags
This commit is contained in:
parent
8ea86d77d3
commit
ef3a5755f8
|
@ -369,12 +369,13 @@
|
|||
delete self.selection[name];
|
||||
var doCommand = true;
|
||||
}
|
||||
|
||||
|
||||
// Always show colored tags at top
|
||||
if (colorData) {
|
||||
// Always show colored tags at top, unless they
|
||||
// don't match an active tag search
|
||||
if (colorData && (!self._search || inSearch)) {
|
||||
labels[i].setAttribute('hidden', false);
|
||||
labels[i].setAttribute('hasColor', true);
|
||||
empty = false;
|
||||
}
|
||||
else {
|
||||
labels[i].removeAttribute('hasColor');
|
||||
|
|
Loading…
Reference in New Issue
Block a user