Hide the suggestions when the user corrects the address
This commit is contained in:
parent
1d1260060e
commit
fb3f82074d
2 changed files with 9 additions and 0 deletions
|
@ -15,6 +15,8 @@ delegate('focusout', userNewEmailSelector, () => {
|
|||
if (suggestion && suggestion.full) {
|
||||
suggestedEmailSpan.innerHTML = suggestion.full;
|
||||
show(document.querySelector(suggestionsSelector));
|
||||
} else {
|
||||
hide(document.querySelector(suggestionsSelector));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue