Revert "Fix some == with ==="

This reverts commit 5d39d85215.
This commit is contained in:
rejas
2019-06-04 11:04:47 +02:00
parent 62017c4661
commit d9a4ee4f65
5 changed files with 5 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ var Translator = (function() {
xhr.overrideMimeType("application/json");
xhr.open("GET", file, true);
xhr.onreadystatechange = function () {
if (xhr.readyState === 4 && xhr.status === "200") {
if (xhr.readyState == 4 && xhr.status == "200") {
callback(JSON.parse(stripComments(xhr.responseText)));
}
};