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:
@@ -3952,7 +3952,7 @@ if ('serviceWorker' in navigator) {
|
||||
|
||||
if (isPWAInstalled) {
|
||||
// Если это PWA, показываем уведомление об обновлении
|
||||
showUpdateNotification();
|
||||
showUpdateNotification();
|
||||
} else {
|
||||
// Если это браузер, показываем промпт установки
|
||||
if (window.pwaInstallPrompt && !window.pwaInstallPrompt.isInstalled) {
|
||||
|
||||
Reference in New Issue
Block a user