Fix non-working PWA modal buttons

- Fixed 'Got it' and 'Later' buttons in iOS Safari modal
- Fixed 'Close' button in fallback instructions modal
- Fixed 'OK' button in final dismissal notification
- Replaced broken inline onclick with proper event listeners
- Added comprehensive button event handling with logging

Bug: Modal buttons were unresponsive due to inline onclick issues
This commit is contained in:
lockbitchat
2025-08-23 17:48:46 -04:00
parent a28aacbe6e
commit 7fdf7a1b89
2 changed files with 11 additions and 50 deletions

View File

@@ -3952,7 +3952,7 @@ if ('serviceWorker' in navigator) {
if (isPWAInstalled) {
// Если это PWA, показываем уведомление об обновлении
showUpdateNotification();
showUpdateNotification();
} else {
// Если это браузер, показываем промпт установки
if (window.pwaInstallPrompt && !window.pwaInstallPrompt.isInstalled) {