diff --git a/core/misc/machine-name.js b/core/misc/machine-name.js index f12e967..7ec93f5 100644 --- a/core/misc/machine-name.js +++ b/core/misc/machine-name.js @@ -51,7 +51,7 @@ // Abort the last pending request because the label has changed and it // is no longer valid. - if (xhr && xhr.readystate != 4) { + if (xhr && xhr.readystate !== 4) { xhr.abort(); xhr = null; }