update select dialog

This commit is contained in:
Jade (Rose) Rowland 2024-08-11 11:01:17 -04:00
parent e9a0a06b77
commit cba9169b2f
4 changed files with 13 additions and 8 deletions

View file

@ -97,7 +97,7 @@ export function loadModules() {
return evalScope(settingPatterns, ...modules);
}
// confirm dialog is a promise in Tauri and possibly other browsers... normalize it to be a promise everywhere
// confirm dialog is a promise in webkit and a boolean in other browsers... normalize it to be a promise everywhere
export function confirmDialog(msg) {
const confirmed = confirm(msg);
if (confirmed instanceof Promise) {