Replace native browser alerts and confirms with customized modern promise-based overlay dialogs

This commit is contained in:
2026-05-28 12:26:32 +02:00
parent 05773ef977
commit d84560f51f
11 changed files with 178 additions and 13 deletions
-1
View File
@@ -254,7 +254,6 @@ ${trkpts}
// Download GPX file client-side
export function downloadGpxFile(waypoints: GpsWaypoint[], dateStr: string): void {
if (waypoints.length === 0) {
alert('No waypoints recorded to export.')
return
}
const gpxContent = generateGpxString(waypoints, dateStr)