parent
ad8ed89e3c
commit
f9754edcce
2 changed files with 2 additions and 2 deletions
|
@ -215,7 +215,7 @@ class AutoCompleteControl {
|
|||
const listItem = document.createElement('li');
|
||||
const link = document.createElement('a');
|
||||
link.innerHTML = resultItem.caption;
|
||||
link.setAtribute('href', '');
|
||||
link.setAttribute('href', '');
|
||||
link.setAttribute('data-key', resultItem.value);
|
||||
link.addEventListener(
|
||||
'mouseenter',
|
||||
|
|
|
@ -325,7 +325,7 @@ class TagInputControl extends events.EventTarget {
|
|||
|
||||
const removalLinkNode = document.createElement('a');
|
||||
removalLinkNode.classList.add('append');
|
||||
removalLinkNode.setAttribute('href', '')
|
||||
removalLinkNode.setAttribute('href', '');
|
||||
removalLinkNode.setAttribute('data-pseudo-content', '×');
|
||||
removalLinkNode.addEventListener('click', e => {
|
||||
e.preventDefault();
|
||||
|
|
Loading…
Reference in a new issue