diff --git a/js/page/claim_code.js b/js/page/claim_code.js index 5482a7871..5c902f95f 100644 --- a/js/page/claim_code.js +++ b/js/page/claim_code.js @@ -19,8 +19,10 @@ var ClaimCodePage = React.createClass({ handleSubmit: function() { if (!this.refs.code.value) { alert('Please enter an invitation code or choose "Skip."'); + return; } else if (!this.refs.email.value) { alert('Please enter an email address or choose "Skip."'); + return; } this.setState({