From 4c8000c69c53b348429eb257ebe01a77fcc42655 Mon Sep 17 00:00:00 2001 From: soufiane Date: Mon, 27 Nov 2023 15:42:37 +0100 Subject: [PATCH] wait #6459 --- js/quiz.draganddrop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/quiz.draganddrop.js b/js/quiz.draganddrop.js index cfe67e5..dbe9d0b 100644 --- a/js/quiz.draganddrop.js +++ b/js/quiz.draganddrop.js @@ -24,7 +24,7 @@ QuizDragAndDrop.prototype = { zone = 'zone-2'; } - let index = $this.activeScreen.find(".list-item").eq(0).data('id') + let index = $this.activeScreen.find(".list-item:nth-child(1)").data('id') $this.sendCurrentAnswerToArea(zone,index); }); }, -- 2.39.5