Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #433 from cmc333333/400-submit
Browse files Browse the repository at this point in the history
Refer to correct element
  • Loading branch information
tadhg-ohiggins authored Jun 24, 2016
2 parents 3d62c40 + ec89bd6 commit 9965432
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var CommentReviewView = Backbone.View.extend({
events: {
'click .edit-comment': 'editComment',
'click .preview-button': 'preview',
'change .agree': 'toggleSubmit'
'change #agree': 'toggleSubmit'
},

initialize: function(options) {
Expand All @@ -45,7 +45,7 @@ var CommentReviewView = Backbone.View.extend({
findElms: function() {
this.$form = this.$el.find('form');
this.$submit = this.$el.find('.submit-button');
this.$agree = this.$el.find('.agree');
this.$agree = this.$el.find('#agree');
},

editComment: function(e) {
Expand Down

0 comments on commit 9965432

Please sign in to comment.