diff --git a/static/js/main.js b/static/js/main.js index 68ea997..169448d 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -282,7 +282,7 @@ var StoryForm = React.createClass({ var headline = this.refs.headline.getDOMNode().value.trim(); var content = this.refs.content.getDOMNode().value.trim(); - $(".myModal").modal('hide'); + $(".newTaskModal").modal('hide'); this.props.onStorySubmit({role: role, necessity: necessity, headline: headline, @@ -297,13 +297,13 @@ var StoryForm = React.createClass({ }), render: function() { return ( -