Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(virtualRepeat): prevents digest if digest is already in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Messerle committed Sep 24, 2015
1 parent 1a99821 commit acbf293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/virtualRepeat/virtual-repeater.js
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ VirtualRepeatController.prototype.containerUpdated = function() {
this.$$rAF(angular.bind(this, this.readItemSize_));
}
}));
this.$scope.$digest();
if (!this.$scope.$root.$$phase) this.$scope.$digest();

return;
} else if (!this.sized) {
Expand Down

0 comments on commit acbf293

Please sign in to comment.