scp80: keep the card preset selected after a send (v2.1.18)

cardsSave() calls cardsRebuildSelect(), and the innerHTML rebuild reset the
dropdown to its first option ("- Select card -"). Since the counter sync
saves after every send, the selection was lost each time and had to be
re-picked manually. The rebuild now restores the previous selection
(guarded by the preset still existing). Service worker v155.
This commit is contained in:
2026-09-16 08:44:44 +03:00
parent f6c1dd0751
commit ef8b651f28
4 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const CACHE = 'otaman-v154';
const CACHE = 'otaman-v155';
const URLS = [
'index.html',
'help.html',