Update index.html
Browse files- 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>
|
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">Установить приложение
|
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.
|
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';
|