Skip to content

Commit

Permalink
Fixed a bug which caused errors when a team name is omitted
Browse files Browse the repository at this point in the history
  • Loading branch information
WillPapper committed May 23, 2014
1 parent 2ff7c33 commit 8696198
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion markup/pledge.jade
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ html
},
onTokenRecv: function(token, args) {
var url_parameters = $location.search();
var team_name = '';
if ('t' in url_parameters) {
var team_name = url_parameters['t'];
team_name = url_parameters['t'];
}

$http.post('/pledge.do', {
Expand Down

0 comments on commit 8696198

Please sign in to comment.