Skip to content

Commit

Permalink
use "_isInteractionComplete" instead of "_isComplete"
Browse files Browse the repository at this point in the history
_isComplete is true when the component was solved before and the course get's relaunched
_isInteractionComplete is true when no more attempts are left or the component gets solved correctly, but get's set to false when course is reloaded
  • Loading branch information
lc-thomasberger committed Jul 11, 2016
1 parent 4400fd1 commit 9f39b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/adapt-contrib-slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ define([
event.preventDefault();
this.tempValue = false;

if (this.model.get('_isComplete')) {
if (this.model.get('_isInteractionComplete')) {
return;
}

Expand Down

0 comments on commit 9f39b5a

Please sign in to comment.