Skip to content

Commit

Permalink
Reconcile #3966 with #4061
Browse files Browse the repository at this point in the history
  • Loading branch information
jgonggrijp committed Feb 25, 2022
1 parent b667a2d commit 00f984e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backbone.js
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@
if (this._kind === ITERATOR_VALUES) {
value = model;
} else {
var id = this._collection.modelId(model.attributes);
var id = this._collection.modelId(model.attributes, model.idAttribute);
if (this._kind === ITERATOR_KEYS) {
value = id;
} else { // ITERATOR_KEYSVALUES
Expand Down

0 comments on commit 00f984e

Please # to comment.