Fix some == with ===

This commit is contained in:
rejas
2019-06-04 09:51:51 +02:00
parent 99b4c43fd5
commit 5d39d85215
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)));
}
};