MCPcopy Create free account
hub / github.com/Yorick-Ryu/deep-share / handleContinue

Function handleContinue

onboarding/onboarding.js:147–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145
146// Handle continue button click
147function handleContinue() {
148 // Get selected formula format
149 const selectedFormat = document.querySelector('input[name="formulaFormat"]:checked').value;
150
151 // Save the selected format
152 chrome.storage.sync.set({
153 formulaFormat: selectedFormat
154 }, () => {
155 // Hide the first step and show the pin step
156 const firstStep = document.querySelector('.onboarding-content:not(.pin-step)');
157 const pinStep = document.getElementById('pinStep');
158
159 firstStep.style.display = 'none';
160 pinStep.style.display = 'block';
161
162 // Scroll to top
163 window.scrollTo({ top: 0, behavior: 'smooth' });
164 });
165}
166
167// Handle back button click
168function handleBack() {

Callers 1

setupEventListenersFunction · 0.85

Calls 1

setMethod · 0.45

Tested by

no test coverage detected