summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-06-28 19:25:39 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-06-28 19:36:41 -0700
commit2cd5f3629ff2410127a8fdc5df92fb16f52fa457 (patch)
treec31c1393e25aa141d1558268d49c5995d523ad2d /web
parentbf8511fa479e69c0985a2ff153bde953454e1bf2 (diff)
downloadchat-2cd5f3629ff2410127a8fdc5df92fb16f52fa457.tar.gz
chat-2cd5f3629ff2410127a8fdc5df92fb16f52fa457.tar.bz2
chat-2cd5f3629ff2410127a8fdc5df92fb16f52fa457.zip
Fixed typo in team domain look-up page
Diffstat (limited to 'web')
-rw-r--r--web/react/components/login.jsx2
-rw-r--r--web/react/utils/utils.jsx4
2 files changed, 3 insertions, 3 deletions
diff --git a/web/react/components/login.jsx b/web/react/components/login.jsx
index 85df5f797..3b6f96c2d 100644
--- a/web/react/components/login.jsx
+++ b/web/react/components/login.jsx
@@ -37,7 +37,7 @@ var FindTeamDomain = React.createClass({
window.location.href = window.location.protocol + "//" + domain + "." + utils.getDomainWithOutSub();
}
else {
- this.state.server_error = "We couldn't find your " + strings.TeamPlural + ".";
+ this.state.server_error = "We couldn't find your " + strings.Team + ".";
this.setState(this.state);
}
}.bind(this),
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx
index 75c583c8f..128d9d1e7 100644
--- a/web/react/utils/utils.jsx
+++ b/web/react/utils/utils.jsx
@@ -25,7 +25,7 @@ module.exports.cleanUpUrlable = function(input) {
module.exports.isTestDomain = function() {
- if ((/^localhost/).test(window.location.hostname))
+ /*if ((/^localhost/).test(window.location.hostname))
return true;
if ((/^dockerhost/).test(window.location.hostname))
@@ -44,7 +44,7 @@ module.exports.isTestDomain = function() {
return true;
if ((/^176./).test(window.location.hostname))
- return true;
+ return true;*/
return false;
};