From 6b1ae67f2fdaa096262be54e4d920bd26034cba5 Mon Sep 17 00:00:00 2001
From: Reed Garmsen <rgarmsen2295@gmail.com>
Date: Thu, 2 Jul 2015 18:02:00 -0700
Subject: Added comment for later reference

---
 web/react/utils/client.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'web/react/utils/client.jsx')

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);
-- 
cgit v1.2.3-1-g7c22

