Aleksmorshen commited on
Commit
0414504
·
verified ·
1 Parent(s): 20e63da

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +3 -3
index.html CHANGED
@@ -3,7 +3,7 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Morshenalpha PWA</title>
7
  <link rel="manifest" href="/manifest.json">
8
  <link rel="stylesheet" href="style.css">
9
  <link rel="apple-touch-icon" href="/icon.png">
@@ -137,7 +137,7 @@
137
  allowfullscreen></iframe>
138
 
139
  <button id="installButton">Установить приложение</button>
140
- <button id="iosInstallPrompt">Установить приложение (инструкция для iOS)</button>
141
 
142
  <script>
143
  let deferredPrompt;
@@ -157,7 +157,7 @@
157
  installButton.style.display = 'none';
158
  iosInstallPrompt.classList.add('pulse-animation');
159
  iosInstallPrompt.addEventListener('click', () => {
160
- alert("1. Нажмите кнопку 'Поделиться' (иконка внизу Safari).\n2. Выберите 'Добавить на экран Домой'.\n3. Подтвердите установку.");
161
  });
162
  } else {
163
  installButton.style.display = deferredPrompt ? 'block' : 'none';
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Morshen Alpha</title>
7
  <link rel="manifest" href="/manifest.json">
8
  <link rel="stylesheet" href="style.css">
9
  <link rel="apple-touch-icon" href="/icon.png">
 
137
  allowfullscreen></iframe>
138
 
139
  <button id="installButton">Установить приложение</button>
140
+ <button id="iosInstallPrompt">Установить приложение </button>
141
 
142
  <script>
143
  let deferredPrompt;
 
157
  installButton.style.display = 'none';
158
  iosInstallPrompt.classList.add('pulse-animation');
159
  iosInstallPrompt.addEventListener('click', () => {
160
+ alert("1. Нажмите кнопку 'Поделиться' (иконка внизу Safari).\n2. на экран Домой'.\n3. Подтвердите установку.");
161
  });
162
  } else {
163
  installButton.style.display = deferredPrompt ? 'block' : 'none';