Skip to content

Commit

Permalink
issue rauchg#169, add turnary assignment for client sdk channels
Browse files Browse the repository at this point in the history
  • Loading branch information
crobinson42 committed Mar 21, 2016
1 parent 845d23e commit 1e7022f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/assets/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var request = superagent;

// elements
var form = body.querySelector('form#invite');
var channel = form.elements['channel'];
var channel = form.elements['channel'] || {};
var email = form.elements['email'];
var coc = form.elements['coc'];
var button = body.querySelector('button');
Expand Down

0 comments on commit 1e7022f

Please sign in to comment.