chore: updated copy
c59f9b92
1 file(s) · +4 −4
| 238 | 238 | const scrollContainer = document.getElementById('scrollContainer'); |
|
| 239 | 239 | const prevBtn = document.getElementById('prevBtn'); |
|
| 240 | 240 | const nextBtn = document.getElementById('nextBtn'); |
|
| 241 | - | const backToStartBtn = document.getElementById('backToStartBtn'); |
|
| 241 | + | //const backToStartBtn = document.getElementById('backToStartBtn'); |
|
| 242 | 242 | ||
| 243 | 243 | let currentSection = 0; |
|
| 244 | 244 | const totalSections = scrollContainer.children.length; |
|
| 269 | 269 | scrollToSection(currentSection + 1); |
|
| 270 | 270 | }); |
|
| 271 | 271 | ||
| 272 | - | backToStartBtn.addEventListener('click', () => { |
|
| 273 | - | scrollToSection(0); |
|
| 274 | - | }); |
|
| 272 | + | // backToStartBtn.addEventListener('click', () => { |
|
| 273 | + | // scrollToSection(0); |
|
| 274 | + | // }); |
|
| 275 | 275 | ||
| 276 | 276 | // Update current section when user manually scrolls |
|
| 277 | 277 | scrollContainer.addEventListener('scroll', () => { |
|