Permalink
Browse files

Merge branch 'master' of github.com:masylum/Backbone.Subset

  • Loading branch information...
2 parents 012413b + 5869087 commit 3fe14c5a3f4fcb4962c68358e45048272376c44e @masylum committed Sep 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 backbone.subset.js
View
@@ -128,7 +128,7 @@
// re-evaluate each model's eligibility
changed = _.result(this, 'parent').reduce(function (changed, model) {
- return changed || self._updateModelMembership(model, {silent: true});
+ return self._updateModelMembership(model, {silent: true}) || changed;
}, false);
// only trigger reset event if the subset actually changed

0 comments on commit 3fe14c5

Please sign in to comment.