summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/utils')
-rw-r--r--web/react/utils/client.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/utils/client.jsx b/web/react/utils/client.jsx
index 5b5d8dc32..6ae25c66d 100644
--- a/web/react/utils/client.jsx
+++ b/web/react/utils/client.jsx
@@ -862,8 +862,8 @@ module.exports.isEmailEnabledSynchronous = function() {
enabled = !value;
},
error: function(xhr, status, err) {
- if (status != 200) {
- handleError("isEmailEnabled", xhr, status, err);
+ if (status !== '200') {
+ handleError('isEmailEnabled', xhr, status, err);
}
}
});