Skip to content

Commit

Permalink
save setting before closing
Browse files Browse the repository at this point in the history
  • Loading branch information
Gianfranco Palumbo committed Oct 2, 2020
1 parent 5ae3726 commit 48b5a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/help/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ document.querySelector('.next-step').addEventListener('click', () => {
if (currentStep === 5) {
document.querySelector('.next-step .btn__inner').textContent = 'Got it!';
document.querySelector('.next-step').addEventListener('click', () => {
browserWindow.close();
dataStore.saveSettings('tutorialShown', true);
browserWindow.close();
});
}
});

0 comments on commit 48b5a8f

Please sign in to comment.