baldav/frontend
4aiman ee2880a435 Fix: can't delete a 0-point (0 km) track
The Delete / Recalculate / Refine / Compare handlers were bound inside
`if (mapEl && points.length)` in showSessionDetail, so a track with no points
(started recording, no GPS fix, stopped → 0 km) skipped the whole block and its
"Удалить" button did nothing. Moved the session-action button handlers outside
the map/points guard so they bind regardless. (Also covers a track whose points
all get dropped by the new accuracy filter.)

DB.deleteGpsSession already handled zero points fine (DELETE of 0 rows is a
no-op); the bug was purely the unbound click handler.
2026-08-16 20:35:08 +03:00
..
css Track detail de-jitter: fix overlay stacking, native dialogs, slow save 2026-07-31 23:51:20 +03:00
data Health-diet.ru products (24K), GPS session safety, build.sh upload fix 2026-06-28 23:17:51 +03:00
img Compass map rotation, landscape layout, GPS placeholder 2026-06-25 16:54:45 +03:00
js Fix: can't delete a 0-point (0 km) track 2026-08-16 20:35:08 +03:00
lib Compass map rotation, landscape layout, GPS placeholder 2026-06-25 16:54:45 +03:00
index.html Compass map rotation, landscape layout, GPS placeholder 2026-06-25 16:54:45 +03:00