Commit 93218961 authored by bbaer's avatar bbaer
Browse files

Corrected typos

parent 9ee8b0a6
Pipeline #1462 passed with stage
in 1 minute and 57 seconds
......@@ -148,7 +148,7 @@ var QfqNS = QfqNS || {};
this._updateText(e.data.text);
this.$comment.show();
e.data.$container.remove();
this.emitEvent('comment.edited', n.EventEmitter.makePayload(this, this.comment));
this.eventEmitter.emitEvent('comment.edited', n.EventEmitter.makePayload(this, this.comment));
};
})(QfqNS);
\ No newline at end of file
......@@ -103,12 +103,12 @@ var QfqNS = QfqNS || {};
commentObject.display();
this.comments.push(commentObject);
this._changeHandler("new", commentObject);
this.comment.on('comment.edited')
this._setListeners(commentObject);
this.updateHeight();
return this.comments.length - 1;
};
n.CommetController.prototype._setCommentListeners = function(commentObject) {
n.CommentController.prototype._setListeners = function(commentObject) {
var that = this;
commentObject.on('comment.edited', function(e) {
that.updateComment(e.data);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment