ProCreations commited on
Commit
59e23d6
·
verified ·
1 Parent(s): 8121529

Update showCategory function to handle walkthrough mode

Browse files
Files changed (1) hide show
  1. 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;