Skip to content

Commit

Permalink
Fix records vs. record bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tavinathanson committed Mar 27, 2015
1 parent 1461288 commit 971251b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cycledash/static/js/examine/RecordStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ function createRecordStore(run, igvHttpfsUrl, dispatcher, opt_testDataSource) {
// original.
function updateCommentInParentRecord(comment, record, isDelete) {
if (isDelete) {
record.comments = _.without(records.comments, comment);
record.comments = _.without(record.comments, comment);

// If there are no comments left, we don't need a comments list.
if (_.isEmpty(record.comments)) {
Expand Down

0 comments on commit 971251b

Please sign in to comment.