File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
site/jekyll/getting-started Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -679,7 +679,7 @@ var CommentForm = React.createClass({
679679 if (!text || !author) {
680680 return;
681681 }
682- this.props.onCommentSubmit({author : author, text : text});
682+ this.props.onCommentSubmit({Author : author, Text : text});
683683 this.refs.author.getDOMNode().value = '';
684684 this.refs.text.getDOMNode().value = '';
685685 return;
@@ -711,8 +711,8 @@ var CommentBox = React.createClass({
711711 },
712712 handleCommentSubmit: function(comment) {
713713 var data = new FormData();
714- data.append('Author', comment.author );
715- data.append('Text', comment.text );
714+ data.append('Author', comment.Author );
715+ data.append('Text', comment.Text );
716716
717717 var xhr = new XMLHttpRequest();
718718 xhr.open('post', this.props.submitUrl, true);
You can’t perform that action at this time.
0 commit comments