Use element.textContent instead of element.innerText

innerText isn't supported by Firefox.
Clicking a suggestion was triggering an OSM search with a blank value, as the value was a map of children.innerText

+ element.textContent should save a reflow : https://developer.mozilla.org/fr/docs/DOM/element.textContent