initEvents: function () {
const $this = this;
+ // enabled click on item
+ $(".list-item").css("pointer-events","auto")
+
// Réinitialiser les réponses
$(document).on("click", ".btn.reset", function () {
$this.resetForm();
return false;
}
+ if($this.getActiveScreenType() === 'draganddrop' && $this.activeScreen.find(".list-item").length > 0) {
+ return false;
+ }
+
//
if ($(this).hasClass('validate')) {
let review = $this.sendUserAnswers();
this.quiz.animations.fadeOut($el.find(".access"));
}
}
+ // disabled click on item
+ this.activeScreen.find(".list-item").css("pointer-events","none")
},
+
nextQuestion: function () {
let nextQuestionIndex = this.quiz.question.currentPosition() + 1;
let nextScreen;