Skip to content

Commit

Permalink
fix it for real this time
Browse files Browse the repository at this point in the history
  • Loading branch information
TodePond committed Jan 31, 2025
1 parent 6d5de5e commit 30339c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ lineNumbersCheckbox?.addEventListener('change', setSettingsFromDom);
strudelAutocompleteCheckbox?.addEventListener('change', setSettingsFromDom);
closeBracketsCheckbox?.addEventListener('change', setSettingsFromDom);
trackRemoteCursorsCheckbox?.addEventListener('change', async (e) => {
const confirmed = nudelConfirm(`This only makes sense in boxed mode.. It also requires a reload. Are you sure?`);
const confirmed = await nudelConfirm(
`This only makes sense in boxed mode.. It also requires a reload. Are you sure?`,
);
if (confirmed) {
setSettingsFromDom();
window.location.reload();
Expand Down

0 comments on commit 30339c6

Please sign in to comment.