diff --git a/assets/js/language.js b/assets/js/language.js index 42fa4f2ae..6e90c3bc7 100644 --- a/assets/js/language.js +++ b/assets/js/language.js @@ -137,13 +137,13 @@ const Language = { this.translateDom(); - searchInput.setAttribute('placeholder', Language.get('menu.search_placeholder')); - placeholdersToHtml(suggestionsHotkeys, { + document.getElementById('search').setAttribute('placeholder', Language.get('menu.search_placeholder')); + placeholdersToHtml(document.getElementById('query-suggestions-hotkeys'), { '↑': '', '↓': '', 'Enter': 'Enter' }); - backToTop.setAttribute('title', Language.get('menu.back_to_top')); + document.getElementById('back-to-top').setAttribute('title', Language.get('menu.back_to_top')); FME.update(); this.updateProgress(); diff --git a/index.html b/index.html index 829eefe62..aade815d0 100644 --- a/index.html +++ b/index.html @@ -45,11 +45,11 @@ - - + + @@ -1369,7 +1369,7 @@