From 91fa6c8da1cbf6647791fa43699eb310f990e7e9 Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Mon, 27 Jul 2015 13:21:50 -0700 Subject: [PATCH] Removed usage of window.location.origin throughout the codebase --- web/react/components/sidebar_header.jsx | 4 ++-- web/react/components/signup_team_complete.jsx | 4 ++-- web/react/stores/team_store.jsx | 8 +++++++- web/react/utils/utils.jsx | 7 ++++--- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/web/react/components/sidebar_header.jsx b/web/react/components/sidebar_header.jsx index 5b442aeacc..e7512934a3 100644 --- a/web/react/components/sidebar_header.jsx +++ b/web/react/components/sidebar_header.jsx @@ -68,10 +68,10 @@ var NavbarDropdown = React.createClass({ for (var i = 0; i < this.state.teams.length; i++) { var teamName = this.state.teams[i]; - teams.push(
  • Switch to { teamName }
  • ); + teams.push(
  • Switch to { teamName }
  • ); } } - teams.push(
  • Create a New Team
  • ); + teams.push(
  • Create a New Team
  • ); return (