update
This commit is contained in:
+148
-105
@@ -23,8 +23,8 @@
|
||||
}
|
||||
|
||||
.bg-rosa-mixto {
|
||||
background: #D9C5D7;
|
||||
background: linear-gradient(to bottom, #D9C5D7 0%, #EDE3EC 100%);
|
||||
background: #d9c5d7;
|
||||
background: linear-gradient(to bottom, #d9c5d7 0%, #ede3ec 100%);
|
||||
}
|
||||
|
||||
.paqueteria {
|
||||
@@ -57,11 +57,11 @@
|
||||
}
|
||||
|
||||
.btn-paquete.disabled {
|
||||
opacity: .5;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.btn-paquete.completed {
|
||||
opacity: 1!important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
#camion-transporte {
|
||||
@@ -71,7 +71,7 @@
|
||||
.btn-answer {
|
||||
cursor: pointer;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 2px rgba(0,0,0,.5);
|
||||
box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.letter {
|
||||
@@ -101,29 +101,35 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<div id="inicio" class='page-sco py-2 py-md-0 h-100'>
|
||||
<div class='container h-100'>
|
||||
<div class='row justify-content-center align-items-center h-100'>
|
||||
<div class='col-11'>
|
||||
<div class='row justify-content-center align-items-center'>
|
||||
<div id="inicio" class="page-sco py-2 py-md-0 h-100">
|
||||
<div class="container h-100">
|
||||
<div class="row justify-content-center align-items-center h-100">
|
||||
<div class="col-11">
|
||||
<div class="row justify-content-center align-items-center">
|
||||
<div class="col-12 text-center animate__animated animate__bounceInDown">
|
||||
<div class="position-relative d-inline-block">
|
||||
<h2 class="text-primary mb-1 fw-bold">Entrega domiciliaria</h2>
|
||||
<hr class="border border-2 border-verde-oscuro hr-style my-0 mb-1 opacity-100">
|
||||
<hr class="border border-2 border-verde-oscuro hr-style my-0 mb-1 opacity-100" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 text-center mb-1 animate__animated animate__zoomIn mb-3">
|
||||
<img src="img/14.0.png" class="img-fluid">
|
||||
<img src="img/14.0.png" class="img-fluid" />
|
||||
</div>
|
||||
<div class="col-7 text-center animate__animated animate__flipInX">
|
||||
<div class="card bg-transparent border-0 rounded-3 p-0 shadow-none">
|
||||
<div class="position-relative w-100">
|
||||
<p>Gracias a que la diálisis peritoneal es una terapia <strong class="text-lila-claro">portable y autoadministrada,</strong> le permite mayores
|
||||
posibilidades de actividad laboral, vida escolar y posibilidad de viajar.</p>
|
||||
<p>
|
||||
Gracias a que la diálisis peritoneal es una terapia
|
||||
<strong class="text-lila-claro">portable,</strong> le permite mayores
|
||||
posibilidades de actividad laboral, vida escolar y posibilidad de viajar.
|
||||
</p>
|
||||
</div>
|
||||
<div class="w-100 position-relative text-center animate__animated animate__zoomIn animate__delay-1s">
|
||||
<div
|
||||
class="w-100 position-relative text-center animate__animated animate__zoomIn animate__delay-1s"
|
||||
>
|
||||
<div
|
||||
class="btn-comenzar bg-primary d-inline-block px-3 py-2 text-center animate__animated animate__pulse animate__infinite">
|
||||
class="btn-comenzar bg-primary d-inline-block px-3 py-2 text-center animate__animated animate__pulse animate__infinite"
|
||||
>
|
||||
<h5 class="text-white fw-bold mb-0">COMENZAR ACTIVIDAD</h5>
|
||||
</div>
|
||||
</div>
|
||||
@@ -134,15 +140,15 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="desarrollo" class='page-sco py-2 py-md-0 h-100' style="display: none;overflow: hidden;">
|
||||
<div class='container h-100'>
|
||||
<div class='row justify-content-center align-items-center h-100'>
|
||||
<div class='col-12'>
|
||||
<div class='row justify-content-center'>
|
||||
<div id="desarrollo" class="page-sco py-2 py-md-0 h-100" style="display: none; overflow: hidden">
|
||||
<div class="container h-100">
|
||||
<div class="row justify-content-center align-items-center h-100">
|
||||
<div class="col-12">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-10 text-center animate__animated animate__bounceInDown">
|
||||
<div class="position-relative d-inline-block">
|
||||
<h2 class="text-primary mb-1 fw-bold">Entrega domiciliaria</h2>
|
||||
<hr class="border border-2 border-verde-oscuro hr-style my-0 mb-2 opacity-100">
|
||||
<hr class="border border-2 border-verde-oscuro hr-style my-0 mb-2 opacity-100" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 px-0">
|
||||
@@ -150,8 +156,11 @@
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-10">
|
||||
<div class="d-flex flex-row justify-content-center align-items-center gap-3">
|
||||
<img src="img/book0.png" class="img-fluid">
|
||||
<p class="mb-0"><strong>Instrucciones:</strong> Haga clic en cada caja y responda correctamente para recolectarla y completar la entrega domiciliaria.</p>
|
||||
<img src="img/book0.png" class="img-fluid" />
|
||||
<p class="mb-0">
|
||||
<strong>Instrucciones:</strong> Haga clic en cada caja y responda
|
||||
correctamente para recolectarla y completar la entrega domiciliaria.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -160,47 +169,64 @@
|
||||
<div class="col-12 px-0 bg-rosa-mixto pt-5">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-10 text-center">
|
||||
<div class="d-inline-flex position-relative camino-entrega flex-column justify-content-center align-items-center gap-2">
|
||||
<div
|
||||
class="d-inline-flex position-relative camino-entrega flex-column justify-content-center align-items-center gap-2"
|
||||
>
|
||||
<div id="camion-transporte" class="paqueteria position-absolute">
|
||||
<img src="img/14.2.png" class="img-fluid">
|
||||
<img src="img/14.2.png" class="img-fluid" />
|
||||
</div>
|
||||
<div class="recorrido ms-auto">
|
||||
<div id="paquete0" class="btn-paquete text-center position-relative animate__animated animate__pulse animate__infinite">
|
||||
<div
|
||||
id="paquete0"
|
||||
class="btn-paquete text-center position-relative animate__animated animate__pulse animate__infinite"
|
||||
>
|
||||
<div class="position-absolute check-question w-100">
|
||||
<img src="img/14.5.png" class="img-fluid">
|
||||
<img src="img/14.5.png" class="img-fluid" />
|
||||
</div>
|
||||
<img src="img/14.3.png" class="img-fluid">
|
||||
<img src="img/14.3.png" class="img-fluid" />
|
||||
</div>
|
||||
<div id="paquete1" class="btn-paquete text-center position-relative animate__animated animate__pulse animate__infinite disabled">
|
||||
<div
|
||||
id="paquete1"
|
||||
class="btn-paquete text-center position-relative animate__animated animate__pulse animate__infinite disabled"
|
||||
>
|
||||
<div class="position-absolute check-question w-100">
|
||||
<img src="img/14.6.png" class="img-fluid">
|
||||
<img src="img/14.6.png" class="img-fluid" />
|
||||
</div>
|
||||
<img src="img/14.3.png" class="img-fluid">
|
||||
<img src="img/14.3.png" class="img-fluid" />
|
||||
</div>
|
||||
<div id="paquete2" class="btn-paquete text-center position-relative animate__animated animate__pulse animate__infinite disabled">
|
||||
<div
|
||||
id="paquete2"
|
||||
class="btn-paquete text-center position-relative animate__animated animate__pulse animate__infinite disabled"
|
||||
>
|
||||
<div class="position-absolute check-question w-100">
|
||||
<img src="img/14.7.png" class="img-fluid">
|
||||
<img src="img/14.7.png" class="img-fluid" />
|
||||
</div>
|
||||
<img src="img/14.3.png" class="img-fluid">
|
||||
<img src="img/14.3.png" class="img-fluid" />
|
||||
</div>
|
||||
<div id="paquete3" class="btn-paquete text-center position-relative animate__animated animate__pulse animate__infinite disabled">
|
||||
<div
|
||||
id="paquete3"
|
||||
class="btn-paquete text-center position-relative animate__animated animate__pulse animate__infinite disabled"
|
||||
>
|
||||
<div class="position-absolute check-question w-100">
|
||||
<img src="img/14.8.png" class="img-fluid">
|
||||
<img src="img/14.8.png" class="img-fluid" />
|
||||
</div>
|
||||
<img src="img/14.3.png" class="img-fluid">
|
||||
<img src="img/14.3.png" class="img-fluid" />
|
||||
</div>
|
||||
<div id="paquete4" class="btn-paquete text-center position-relative animate__animated animate__pulse animate__infinite disabled">
|
||||
<div
|
||||
id="paquete4"
|
||||
class="btn-paquete text-center position-relative animate__animated animate__pulse animate__infinite disabled"
|
||||
>
|
||||
<div class="position-absolute check-question w-100">
|
||||
<img src="img/14.9.png" class="img-fluid">
|
||||
<img src="img/14.9.png" class="img-fluid" />
|
||||
</div>
|
||||
<img src="img/14.3.png" class="img-fluid">
|
||||
<img src="img/14.3.png" class="img-fluid" />
|
||||
</div>
|
||||
<div id="fin" class="text-center position-relative">
|
||||
<img src="img/14.4.png" class="img-fluid">
|
||||
<img src="img/14.4.png" class="img-fluid" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="carretera">
|
||||
<img src="img/14.1.png" class="img-fluid">
|
||||
<img src="img/14.1.png" class="img-fluid" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -211,27 +237,31 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="cierre" class='page-sco py-2 py-md-0 h-100' style="display: none;">
|
||||
<div class='container h-100'>
|
||||
<div class='row justify-content-center align-items-center h-100'>
|
||||
<div class='col-12'>
|
||||
<div id="cierre" class="page-sco py-2 py-md-0 h-100" style="display: none">
|
||||
<div class="container h-100">
|
||||
<div class="row justify-content-center align-items-center h-100">
|
||||
<div class="col-12">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-12 text-center mb-3">
|
||||
<img src="img/cierre_actividad.png" class="img-fluid">
|
||||
<img src="img/cierre_actividad.png" class="img-fluid" />
|
||||
</div>
|
||||
<div class="col-12 mb-3 text-center">
|
||||
<div class="position-relative d-inline-block">
|
||||
<h2 class="text-primary mb-1 fw-bold">Entrega domiciliaria</h2>
|
||||
<hr class="border border-2 border-verde-oscuro hr-style my-0 opacity-100">
|
||||
<hr class="border border-2 border-verde-oscuro hr-style my-0 opacity-100" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 text-center mb-3">
|
||||
<h4 class="text-secondary fw-bold">Ha concluido la actividad.</h4>
|
||||
</div>
|
||||
<div class="col-12 text-center col-reintentar animate__animated animate__zoomIn" style="display: none;">
|
||||
<div
|
||||
class="col-12 text-center col-reintentar animate__animated animate__zoomIn"
|
||||
style="display: none"
|
||||
>
|
||||
<div
|
||||
class="btn-reintentar rounded-3 bg-primary d-inline-block px-3 py-2 text-center animate__animated animate__pulse animate__infinite"
|
||||
onclick="CourseNav.reload()">
|
||||
onclick="CourseNav.reload()"
|
||||
>
|
||||
<h5 class="text-white fw-bold mb-0">Reintentar</h5>
|
||||
</div>
|
||||
</div>
|
||||
@@ -243,35 +273,35 @@
|
||||
<script>
|
||||
$(function () {
|
||||
"use strict";
|
||||
$('.wrap-course-content').addClass('fake');
|
||||
$(".wrap-course-content").addClass("fake");
|
||||
|
||||
let questions;
|
||||
let currentQuestionIndex = 0;
|
||||
let currentQuestion;
|
||||
let correctQuestions = 0;
|
||||
let maxQuestions = -1;
|
||||
const bad = CourseNav.createSound('audio/feedback-incorrect.mpeg');
|
||||
const good = CourseNav.createSound('audio/feedback-correct.mpeg');
|
||||
const bad = CourseNav.createSound("audio/feedback-incorrect.mpeg");
|
||||
const good = CourseNav.createSound("audio/feedback-correct.mpeg");
|
||||
|
||||
$('.btn-comenzar').click(function (e) {
|
||||
$(".btn-comenzar").click(function (e) {
|
||||
e.preventDefault();
|
||||
CourseNav.soundClick();
|
||||
$('#inicio').hide();
|
||||
$('#desarrollo').show();
|
||||
$("#inicio").hide();
|
||||
$("#desarrollo").show();
|
||||
});
|
||||
|
||||
const urlExcelFile = 'Actividades_Manual_Vantive.xlsx';
|
||||
const urlExcelFile = "Actividades_Manual_Vantive.xlsx";
|
||||
|
||||
function readExcelFile(url, callback) {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', url, true);
|
||||
xhr.responseType = 'arraybuffer';
|
||||
xhr.open("GET", url, true);
|
||||
xhr.responseType = "arraybuffer";
|
||||
xhr.onload = function (e) {
|
||||
var arrayBuffer = xhr.response;
|
||||
var data = new Uint8Array(arrayBuffer);
|
||||
var workbook = XLSX.read(data, { type: "array" });
|
||||
var result = {};
|
||||
workbook.SheetNames.forEach(sheetName => {
|
||||
workbook.SheetNames.forEach((sheetName) => {
|
||||
var sheet = workbook.Sheets[sheetName];
|
||||
result[sheetName] = XLSX.utils.sheet_to_json(sheet);
|
||||
});
|
||||
@@ -281,21 +311,25 @@
|
||||
}
|
||||
|
||||
function procesarPreguntas(data) {
|
||||
const preguntas = data.map(fila => {
|
||||
const preguntas = data.map((fila) => {
|
||||
const opciones = [];
|
||||
Object.keys(fila).forEach(key => {
|
||||
if (key.startsWith('opcion')) {
|
||||
Object.keys(fila).forEach((key) => {
|
||||
if (key.startsWith("opcion")) {
|
||||
opciones.push({
|
||||
text: fila[key].trim(),
|
||||
correct: key === 'opcion_c'
|
||||
correct: key === "opcion_c",
|
||||
});
|
||||
}
|
||||
});
|
||||
return {
|
||||
pregunta: fila.pregunta.trim(),
|
||||
opciones: opciones,
|
||||
retroalimentacion_correcta: fila.retroalimentacion_correcta ? fila.retroalimentacion_correcta.trim() : '',
|
||||
retroalimentacion_incorrecta: fila.retroalimentacion_incorrecta ? fila.retroalimentacion_incorrecta.trim() : ''
|
||||
retroalimentacion_correcta: fila.retroalimentacion_correcta
|
||||
? fila.retroalimentacion_correcta.trim()
|
||||
: "",
|
||||
retroalimentacion_incorrecta: fila.retroalimentacion_incorrecta
|
||||
? fila.retroalimentacion_incorrecta.trim()
|
||||
: "",
|
||||
};
|
||||
});
|
||||
return preguntas;
|
||||
@@ -315,7 +349,7 @@
|
||||
const pregunta = questions[questionIndex];
|
||||
const opcionesBarajadas = shuffleArray([...pregunta.opciones]);
|
||||
|
||||
let opcionesHTML = '';
|
||||
let opcionesHTML = "";
|
||||
opcionesBarajadas.forEach((opcion, index) => {
|
||||
opcionesHTML += `<div class="position-relative d-flex flex-row align-items-center gap-0 mb-2 btn-answer" data-correct="${opcion.correct}">
|
||||
<div class="d-flex flex-row justify-content-center align-items-center letter text-white text-center p-3">${String.fromCharCode(97 + index)}</div>
|
||||
@@ -324,7 +358,7 @@
|
||||
});
|
||||
|
||||
Swal.fire({
|
||||
target: document.getElementById('wrap-course-content'),
|
||||
target: document.getElementById("wrap-course-content"),
|
||||
html: `
|
||||
<div class="text-center mb-3">
|
||||
<h4 class="fw-bold text-verde-oscuro">${pregunta.pregunta}</h4>
|
||||
@@ -336,14 +370,14 @@
|
||||
showConfirmButton: false,
|
||||
allowOutsideClick: false,
|
||||
customClass: {
|
||||
popup: 'swal-wide bg-white border-0 rounded-3 shadow'
|
||||
popup: "swal-wide bg-white border-0 rounded-3 shadow",
|
||||
},
|
||||
backdrop: "rgba(65, 60, 60, .95)",
|
||||
width: "50em",
|
||||
didOpen: () => {
|
||||
$('.btn-answer').click(function() {
|
||||
const isCorrect = $(this).data('correct') === true;
|
||||
$('.btn-answer').off('click').css('pointer-events', 'none');
|
||||
$(".btn-answer").click(function () {
|
||||
const isCorrect = $(this).data("correct") === true;
|
||||
$(".btn-answer").off("click").css("pointer-events", "none");
|
||||
|
||||
if (isCorrect) {
|
||||
correctQuestions++;
|
||||
@@ -356,46 +390,50 @@
|
||||
mostrarFeedback(isCorrect, pregunta, questionIndex);
|
||||
}, 250);
|
||||
});
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
function mostrarFeedback(isCorrect, pregunta, questionIndex) {
|
||||
const retroalimentacion = isCorrect ? pregunta.retroalimentacion_correcta : pregunta.retroalimentacion_incorrecta;
|
||||
const retroalimentacion = isCorrect
|
||||
? pregunta.retroalimentacion_correcta
|
||||
: pregunta.retroalimentacion_incorrecta;
|
||||
|
||||
Swal.fire({
|
||||
target: document.getElementById('wrap-course-content'),
|
||||
imageUrl: isCorrect ? 'img/good.png' : 'img/bad.png',
|
||||
text: retroalimentacion || '',
|
||||
target: document.getElementById("wrap-course-content"),
|
||||
imageUrl: isCorrect ? "img/good.png" : "img/bad.png",
|
||||
text: retroalimentacion || "",
|
||||
showConfirmButton: true,
|
||||
customClass: {
|
||||
popup: 'pop_retros bg-transparent border-0 rounded-0 shadow-none',
|
||||
confirmButton: 'btn text-primary bg-lila-rosa amor fw-semibold animate__animated animate__pulse animate__infinite'
|
||||
popup: "pop_retros bg-transparent border-0 rounded-0 shadow-none",
|
||||
confirmButton:
|
||||
"btn text-primary bg-lila-rosa amor fw-semibold animate__animated animate__pulse animate__infinite",
|
||||
},
|
||||
confirmButtonText: "Continuar",
|
||||
backdrop: "rgba(65, 60, 60, .95)",
|
||||
width: "35em",
|
||||
didClose: () => {
|
||||
const currentPaquete = $(`#paquete${questionIndex}`);
|
||||
currentPaquete.removeClass('animate__pulse animate__infinite').addClass('completed');
|
||||
currentPaquete.removeClass("animate__pulse animate__infinite").addClass("completed");
|
||||
|
||||
// Cambiar imagen del check
|
||||
const checkImg = currentPaquete.find('.check-question img');
|
||||
checkImg.attr('src', isCorrect ? 'img/14.11.png' : 'img/14.10.png');
|
||||
const checkImg = currentPaquete.find(".check-question img");
|
||||
checkImg.attr("src", isCorrect ? "img/14.11.png" : "img/14.10.png");
|
||||
|
||||
if (isCorrect) {
|
||||
// Mover camión
|
||||
const camion = $('#camion-transporte');
|
||||
const camion = $("#camion-transporte");
|
||||
const paqueteWidth = currentPaquete.outerWidth() + 15; // incluye gap
|
||||
const currentTransform = camion.css('transform');
|
||||
const currentX = currentTransform === 'none' ? 0 : parseFloat(currentTransform.split(',')[4]) || 0;
|
||||
const currentTransform = camion.css("transform");
|
||||
const currentX =
|
||||
currentTransform === "none" ? 0 : parseFloat(currentTransform.split(",")[4]) || 0;
|
||||
const newX = currentX + paqueteWidth;
|
||||
camion.css('transform', `translateX(${newX}px)`);
|
||||
camion.css("transform", `translateX(${newX}px)`);
|
||||
}
|
||||
|
||||
// Habilitar siguiente paquete
|
||||
if (questionIndex < questions.length - 1) {
|
||||
$(`#paquete${questionIndex + 1}`).removeClass('disabled');
|
||||
$(`#paquete${questionIndex + 1}`).removeClass("disabled");
|
||||
}
|
||||
|
||||
currentQuestionIndex++;
|
||||
@@ -404,13 +442,14 @@
|
||||
// Si respondió todas correctamente, mover al destino final
|
||||
if (correctQuestions === questions.length) {
|
||||
setTimeout(() => {
|
||||
const camion = $('#camion-transporte');
|
||||
const currentTransform = camion.css('transform');
|
||||
const currentX = currentTransform === 'none' ? 0 : parseFloat(currentTransform.split(',')[4]) || 0;
|
||||
const camion = $("#camion-transporte");
|
||||
const currentTransform = camion.css("transform");
|
||||
const currentX =
|
||||
currentTransform === "none" ? 0 : parseFloat(currentTransform.split(",")[4]) || 0;
|
||||
const paqueteWidth = currentPaquete.outerWidth() + 25;
|
||||
const newX = currentX + paqueteWidth;
|
||||
camion.css('transform', `translateX(${newX}px)`);
|
||||
console.log('Moviendo camión al fin:', newX);
|
||||
camion.css("transform", `translateX(${newX}px)`);
|
||||
console.log("Moviendo camión al fin:", newX);
|
||||
}, 1000);
|
||||
}
|
||||
const delay = correctQuestions === questions.length ? 3000 : 1500;
|
||||
@@ -418,33 +457,37 @@
|
||||
finalizarJuego();
|
||||
}, delay);
|
||||
}
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
function finalizarJuego() {
|
||||
const aprobado = correctQuestions >= Math.ceil(questions.length * 0.75);
|
||||
|
||||
$('.wrap-course-content').addClass('fake1').removeClass('fake');
|
||||
$(".wrap-course-content").addClass("fake1").removeClass("fake");
|
||||
|
||||
CourseNav.setSlideVisited();
|
||||
|
||||
if (aprobado) {
|
||||
$('#desarrollo').hide();
|
||||
$('#cierre').show();
|
||||
$("#desarrollo").hide();
|
||||
$("#cierre").show();
|
||||
} else {
|
||||
$('.col-reintentar').show();
|
||||
$('#desarrollo').hide();
|
||||
$('#cierre').show();
|
||||
$(".col-reintentar").show();
|
||||
$("#desarrollo").hide();
|
||||
$("#cierre").show();
|
||||
}
|
||||
}
|
||||
|
||||
$('.btn-paquete').click(function() {
|
||||
const paqueteId = $(this).attr('id');
|
||||
const index = parseInt(paqueteId.replace('paquete', ''));
|
||||
$(".btn-paquete").click(function () {
|
||||
const paqueteId = $(this).attr("id");
|
||||
const index = parseInt(paqueteId.replace("paquete", ""));
|
||||
|
||||
if (!$(this).hasClass('disabled') && !$(this).hasClass('completed') && index < questions.length) {
|
||||
$(this).removeClass('animate__pulse animate__infinite').addClass('disabled');
|
||||
if (
|
||||
!$(this).hasClass("disabled") &&
|
||||
!$(this).hasClass("completed") &&
|
||||
index < questions.length
|
||||
) {
|
||||
$(this).removeClass("animate__pulse animate__infinite").addClass("disabled");
|
||||
CourseNav.soundClick();
|
||||
mostrarPregunta(index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user