mirror of
https://github.com/Floriansylvain/projet_programmation_web.git
synced 2026-08-19 11:43:16 +02:00
🎨 Cleaning and improvements
This commit is contained in:
@@ -115,7 +115,7 @@ function realTimeDisplay() {
|
||||
suggestions.innerHTML = ""
|
||||
if (!results.data.length) {
|
||||
hideSuggestions()
|
||||
} else {
|
||||
} else if (document.activeElement === searchBar) {
|
||||
showSuggestions()
|
||||
}
|
||||
results.data.forEach(elem => {
|
||||
|
||||
Reference in New Issue
Block a user