summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-07-02 18:02:00 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-07-02 18:02:00 -0700
commit6b1ae67f2fdaa096262be54e4d920bd26034cba5 (patch)
tree18f165f3a287a4c9bf82359fb53728aeb0356372 /web
parente51a0461a621ed66ede1032d72076cae5b8fdf46 (diff)
downloadchat-6b1ae67f2fdaa096262be54e4d920bd26034cba5.tar.gz
chat-6b1ae67f2fdaa096262be54e4d920bd26034cba5.tar.bz2
chat-6b1ae67f2fdaa096262be54e4d920bd26034cba5.zip
Added comment for later reference
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);