mirror of
https://github.com/browsermt/bergamot-translator.git
synced 2024-08-15 08:30:46 +03:00
JS: Fix swap button on test-page (#388)
This commit is contained in:
parent
ed3160524d
commit
46882e7cfe
@ -111,7 +111,7 @@ langTo.addEventListener("change", e => {
|
||||
|
||||
$(".swap").addEventListener("click", e => {
|
||||
[langFrom.value, langTo.value] = [langTo.value, langFrom.value];
|
||||
$("#input").value = $("#output").value;
|
||||
$("#input").value = $("#output").innerText;
|
||||
loadModel();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user