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

Commit

Permalink
Temp fix of Issue #2
Browse files Browse the repository at this point in the history
  • Loading branch information
kdavis-mozilla committed Jan 15, 2020
1 parent 7a86670 commit bb7bb3e
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 bb7bb3e

Please sign in to comment.