Make PWA install hint dismiss reliable across reloads.

Use delegated clicks, explicit hide state, and init before service worker registration.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-20 11:34:46 +02:00
parent ae589eed92
commit 6ba4cf447f
4 changed files with 70 additions and 17 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const CACHE = "if-viewer-static-v4";
const CACHE = "if-viewer-static-v5";
const ASSETS = [
"/static/style.css",
"/static/favicon.svg",