Closed jerinphilip closed 2 years ago
https://github.com/browsermt/bergamot-translator/pull/358 changed a text area to a div to show quality UI renders, causing the code that swapped content on click of the button to populate instead with undefined.
undefined
This change uses innerText on the output to populate input to fix the issue.
innerText
Swapped with button:
https://github.com/browsermt/bergamot-translator/pull/358 changed a text area to a div to show quality UI renders, causing the code that swapped content on click of the button to populate instead with
undefined
.This change uses
innerText
on the output to populate input to fix the issue.