feat: initialize Poverty Mapping module with authentication, dynamic UI, and map management logic

This commit is contained in:
cindy
2026-06-11 01:07:51 +07:00
parent cfbb92a7d2
commit 318c13aa24
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -219,11 +219,11 @@ function updateHelpStep() {
document.querySelector(`.help-step[data-step="${helpStep}"]`)?.classList.add('active');
document.getElementById('helpProgress').textContent = helpStep + ' / ' + helpTotal;
document.getElementById('helpPrev').disabled = helpStep === 1;
document.getElementById('helpNext').disabled = helpStep === helpTotal;
if (helpStep === helpTotal) {
document.getElementById('helpNext').textContent = 'Selesai';
document.getElementById('helpNext').onclick = () => closeModal('helpModal');
document.getElementById('helpNext').style.visibility = 'hidden';
} else {
document.getElementById('helpNext').style.visibility = 'visible';
document.getElementById('helpNext').disabled = false;
document.getElementById('helpNext').textContent = 'Berikutnya →';
document.getElementById('helpNext').onclick = () => helpNav(1);
}