Spaces:
Running
Running
Update showCategory function to handle walkthrough mode
Browse files- index.html +6 -0
index.html
CHANGED
@@ -1744,6 +1744,12 @@
|
|
1744 |
return;
|
1745 |
}
|
1746 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1747 |
const category = CATEGORIES[categoryId];
|
1748 |
categoryTitle.textContent = category.title;
|
1749 |
categorySubtitle.textContent = category.subtitle;
|
|
|
1744 |
return;
|
1745 |
}
|
1746 |
|
1747 |
+
if (categoryId === 'walkthrough') {
|
1748 |
+
mainMenu.style.display = 'none';
|
1749 |
+
document.getElementById('walkthroughMode').style.display = 'block';
|
1750 |
+
return;
|
1751 |
+
}
|
1752 |
+
|
1753 |
const category = CATEGORIES[categoryId];
|
1754 |
categoryTitle.textContent = category.title;
|
1755 |
categorySubtitle.textContent = category.subtitle;
|