Correctly highlight changed line in tutorial.

This excerpt adds the onSubmit handler to the form element, but the line was not highlighted as having been modified.
This commit is contained in:
Sophia Westwood
2015-01-21 17:15:31 -08:00
parent 892e357fd5
commit a19966f2ea
+1 -1
View File
@@ -482,7 +482,7 @@ var CommentForm = React.createClass({
Let's make the form interactive. When the user submits the form, we should clear it, submit a request to the server, and refresh the list of comments. To start, let's listen for the form's submit event and clear it.
```javascript{3-14,18-20}
```javascript{3-14,17-20}
// tutorial16.js
var CommentForm = React.createClass({
handleSubmit: function(e) {