Skip to content
This repository has been archived by the owner on Feb 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #3 from browsermt/issue2
Browse files Browse the repository at this point in the history
Temp fix of Issue #2
  • Loading branch information
kdavis-mozilla authored Jan 15, 2020
2 parents 7a86670 + bb7bb3e commit 18311e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions browser/components/translation/BergamotTranslator.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ this.BergamotTranslator.prototype = {
let doc = new DOMParser().parseFromString(result, "text/html");
result = doc.body.firstChild.nodeValue;
}
root.isSimpleRoot = true;
root.parseResult(result);
} catch (e) {
error = true;
Expand Down

0 comments on commit 18311e1

Please sign in to comment.