Fix PWA install hint dismiss after cached HTML/JS mismatch.

Restore button id, bind dismiss at document level, force hide inline, and fetch pwa.js/style.css network-first.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-20 15:37:30 +02:00
parent 6ba4cf447f
commit 0e9dbf1735
4 changed files with 45 additions and 17 deletions
+1 -1
View File
@@ -3,4 +3,4 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="apple-touch-icon" href="/static/icon-192.png">
<script src="/static/pwa.js" defer></script>
<script src="/static/pwa.js?v=7" defer></script>