Skip to content

Commit

Permalink
somehow got hold of an old copy of checkCompletionStatus... update to…
Browse files Browse the repository at this point in the history
… latest
  • Loading branch information
moloko committed May 23, 2016
1 parent 53e68eb commit e65e56e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions js/adapt-contrib-hotgraphic.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,8 @@ define(function(require) {
},

checkCompletionStatus: function() {
if (!this.model.get('_isComplete')) {
if (this.getVisitedItems().length == this.model.get('_items').length) {
this.trigger('allItems');
}
if (this.getVisitedItems().length == this.model.get('_items').length) {
this.trigger('allItems');
}
},

Expand Down

0 comments on commit e65e56e

Please sign in to comment.