From 8c03c0b930c3b4dc1d75393d1ab305cb1b08dc83 Mon Sep 17 00:00:00 2001
From: Reed Garmsen <rgarmsen2295@gmail.com>
Date: Wed, 5 Aug 2015 20:58:22 -0700
Subject: Correct sign up link now displays on ie10 in the 'Team Invite Link'
 modal; replaces location.origin with utils function

---
 web/react/components/sidebar_right_menu.jsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'web/react/components/sidebar_right_menu.jsx')

diff --git a/web/react/components/sidebar_right_menu.jsx b/web/react/components/sidebar_right_menu.jsx
index 15306a499..4e12401de 100644
--- a/web/react/components/sidebar_right_menu.jsx
+++ b/web/react/components/sidebar_right_menu.jsx
@@ -3,6 +3,7 @@
 
 var UserStore = require('../stores/user_store.jsx');
 var client = require('../utils/client.jsx');
+var utils = require('../utils/utils.jsx');
 
 module.exports = React.createClass({
     handleLogoutClick: function(e) {
@@ -29,7 +30,7 @@ module.exports = React.createClass({
             if (this.props.teamType == "O") {
                 team_link = (
                     <li>
-                        <a href="#" data-toggle="modal" data-target="#get_link" data-title="Team Invite" data-value={location.origin+"/signup_user_complete/?id="+currentUser.team_id}><i className="glyphicon glyphicon-link"></i>Get Team Invite Link</a>
+                        <a href="#" data-toggle="modal" data-target="#get_link" data-title="Team Invite" data-value={utils.getWindowLocationOrigin()+"/signup_user_complete/?id="+currentUser.team_id}><i className="glyphicon glyphicon-link"></i>Get Team Invite Link</a>
                     </li>
                 );
             }
-- 
cgit v1.2.3-1-g7c22

