This commit is contained in:
2025-12-11 00:25:09 -06:00
parent 26c6c32de5
commit 5cb73effe7
28 changed files with 643 additions and 10 deletions
+7 -2
View File
@@ -193,6 +193,10 @@
"use strict";
$('body').addClass('fake');
let sec1Shown = false;
const audiom08 = CourseNav.createSound('audio/audiom08.mp3');
const audiom12 = CourseNav.createSound('audio/audiom12.mp3');
@@ -227,7 +231,8 @@
$('.btn-next-section').click(function () {
$(this).removeClass('animate__animated animate__pulse animate__infinite');
gotoSection($(this).data('sec'));
$(this).parent().hide();
sec1Shown = true;
$('.ins0').hide();
const audioName = $(this).data('audio');
if (audioName) {
@@ -267,7 +272,7 @@
didClose: () => {
document.body.style.paddingRight = '';
CourseNav.audioController.stopAudio();
if($('.btn-pop').length == $('.btn-pop.completed').length) {
if($('.btn-pop').length == $('.btn-pop.completed').length && !sec1Shown) {
$('.ins0').show();
}
},