simplify the inline js
This commit is contained in:
parent
5333bbd223
commit
4dcbb74f20
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
</script>
|
||||
</main>
|
||||
|
|
Loading…
Reference in a new issue