client/tags: don't mark duplicated implications
This commit is contained in:
parent
245ce258a9
commit
29bc41f5da
1 changed files with 3 additions and 1 deletions
|
@ -208,7 +208,9 @@ class TagInputControl extends events.EventTarget {
|
||||||
let listItemNode = this._getListItemNodeFromTagName(tagName);
|
let listItemNode = this._getListItemNodeFromTagName(tagName);
|
||||||
const alreadyAdded = !!listItemNode;
|
const alreadyAdded = !!listItemNode;
|
||||||
if (alreadyAdded) {
|
if (alreadyAdded) {
|
||||||
listItemNode.classList.add('duplicate');
|
if (e.detail.source !== SOURCE_IMPLICATION) {
|
||||||
|
listItemNode.classList.add('duplicate');
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
listItemNode = this._createListItemNode(tagName);
|
listItemNode = this._createListItemNode(tagName);
|
||||||
if (!actualTag) {
|
if (!actualTag) {
|
||||||
|
|
Loading…
Reference in a new issue