aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/beforeinstallpromptevent/prompt/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/beforeinstallpromptevent/prompt/index.html')
-rw-r--r--files/ru/web/api/beforeinstallpromptevent/prompt/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ru/web/api/beforeinstallpromptevent/prompt/index.html b/files/ru/web/api/beforeinstallpromptevent/prompt/index.html
index f8c623a1c1..ad2177d693 100644
--- a/files/ru/web/api/beforeinstallpromptevent/prompt/index.html
+++ b/files/ru/web/api/beforeinstallpromptevent/prompt/index.html
@@ -14,7 +14,7 @@ translation_of: Web/API/BeforeInstallPromptEvent/prompt
<h2 id="Синтаксис">Синтаксис</h2>
-<pre class="syntaxbox notranslate">BeforeInstallPromptEvent.prompt()</pre>
+<pre class="syntaxbox">BeforeInstallPromptEvent.prompt()</pre>
<h3 id="Параметры">Параметры</h3>
@@ -26,7 +26,7 @@ translation_of: Web/API/BeforeInstallPromptEvent/prompt
<h2 id="Пример">Пример</h2>
-<pre class="notranslate">var isTooSoon = true;
+<pre>var isTooSoon = true;
window.addEventListener("beforeinstallprompt", function(e) {
if (isTooSoon) {
e.preventDefault(); // Предотвращает быстрое отображение