diff --git a/views/index.html b/views/index.html index 5266b6f..db9934a 100644 --- a/views/index.html +++ b/views/index.html @@ -107,9 +107,9 @@ document.getElementById("translation-form").submit(); } }); + // This code makes the select language menu searchable if js is enabled var options = { searchable: true }; NiceSelect.bind(document.getElementById("targetLanguage"), options); - var options = { searchable: true }; NiceSelect.bind(document.getElementById("sourceLanguage"), options);