Fixed JS bugs in note.js merge

This commit is contained in:
Phil Hughes 2016-07-26 11:14:37 +01:00
parent 2f5ee5ed20
commit 30f655c31a
1 changed files with 2 additions and 2 deletions

View File

@ -507,7 +507,7 @@
notes = note.closest(".notes");
if (DiffNotesApp != null) {
ref DiffNotesApp.$refs['' + noteId + ''];
ref = DiffNotesApp.$refs['' + noteId + ''];
if (ref) {
ref.$destroy(true);
@ -763,7 +763,7 @@
return this.notesCountBadge.text(parseInt(this.notesCountBadge.text()) + updateCount);
};
Notes.prorotype.resolveDiscussion = function () {
Notes.prototype.resolveDiscussion = function () {
var $this = $(this),
discussionId = $this.attr('data-discussion-id');