This commit is contained in:
2025-10-06 11:13:23 -06:00
parent e2479b31cc
commit c5f36689d8
21 changed files with 1698 additions and 26 deletions
+1 -6
View File
@@ -89,7 +89,7 @@
</div>
</div>
</div>
<div id="desarrollo" class='page-sco py-2 py-md-0 h-100' style="display: none;">
<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-11' id="dragAndDrop">
@@ -282,7 +282,6 @@
$('.drag-item').draggable({
revert: 'invalid',
revertDuration: 300,
containment: "#desarrollo",
cursor: "grabbing",
start: function (event, ui) {
$(this).css({'z-index': 1000, 'transform': 'scale(0.8)'});
@@ -335,12 +334,8 @@
width: "35em",
didClose: () => {
if ($('.drag-item:visible').length === 0) {
const percentage = (correctCount / totalItems) * 100;
$('#desarrollo').hide();
$('#cierre').show();
if (percentage < 80) {
$('.col-reintentar').show();
}
CourseNav.setSlideVisited();
}
}