diff --git a/frontend/index.html b/frontend/index.html index 77fdefd..898debe 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -11404,7 +11404,7 @@ function cardsKeysetRowHtml(ks, i) { '' + '' + '' + - '' + + '' + ''; } diff --git a/frontend/sw.js b/frontend/sw.js index 6930229..8c39226 100644 --- a/frontend/sw.js +++ b/frontend/sw.js @@ -1,4 +1,4 @@ -const CACHE = 'simple-v344'; +const CACHE = 'simple-v345'; const URLS = [ 'index.html', 'help.html', diff --git a/frontend/tests/keysets.test.js b/frontend/tests/keysets.test.js index 703051d..37ccb01 100644 --- a/frontend/tests/keysets.test.js +++ b/frontend/tests/keysets.test.js @@ -111,6 +111,8 @@ test('the Cards form wires the keyset editor', () => { assert.match(html, /onclick="cardsKeysetAdd\(\)"/); assert.match(html, /oninput="cardsKeysetKvnUpdate\(/); assert.match(html, /data-l10n="Add keyset"/); + // the remove button is the red action style, like the preset list's Remove + assert.match(html, /cardsKeysetRemove\(' \+ i \+ '\)" class="[^"]*bg-red-600 text-white/); // the keyset rows are built with the KIc/KID/key/counter inputs assert.match(html, /cards-ks-' \+ i \+ '-kic-key/); assert.match(html, /cards-ks-' \+ i \+ '-cntr/);