We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45699d6 commit 7ece9feCopy full SHA for 7ece9fe
1 file changed
code_comments/htdocs/code-comments.js
@@ -83,7 +83,7 @@
83
84
addOne: function(comment) {
85
var view = new CommentView({model: comment});
86
- view.appendTo( $( "ul.comments" ) );
+ view.appendTo( this.$( "ul.comments" ) );
87
},
88
addAll: function() {
89
var view = this;
@@ -145,7 +145,7 @@
145
throw 'Trying to add a comment with line ' + comment.get( 'line' ) + ' into a view for line ' + this.line;
146
}
147
148
149
150
showAddCommentDialog: function() {
151
var $parentRow = $( this.el ).prev()[0],
0 commit comments