summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/react/utils/client.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/client.jsx b/web/react/utils/client.jsx
index 5e9d395c8..b4030baac 100644
--- a/web/react/utils/client.jsx
+++ b/web/react/utils/client.jsx
@@ -286,7 +286,7 @@ module.exports.getMeSynchronous = function(success, error) {
if (success) success(data, textStatus, xhr);
},
error: function(xhr, status, err) {
- var ieChecker = window.navigator.userAgent;
+ var ieChecker = window.navigator.userAgent; // This and the condition below is used to check specifically for browsers IE10 & 11 to suppress a 200 'OK' error from appearing on login
if (xhr.status != 200 || !(ieChecker.indexOf("Trident/7.0") > 0 || ieChecker.indexOf("Trident/6.0") > 0)) {
if (error) {
e = handleError("getMeSynchronous", xhr, status, err);