From 2cd5f3629ff2410127a8fdc5df92fb16f52fa457 Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Sun, 28 Jun 2015 19:25:39 -0700 Subject: Fixed typo in team domain look-up page --- web/react/components/login.jsx | 2 +- web/react/utils/utils.jsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'web') 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; }; -- cgit v1.2.3-1-g7c22