From 980fe00a74a9ad013b945755415ace2e5429c3c2 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 27 Oct 2021 02:31:24 +0300 Subject: [RU] Remove notranslate (#2874) --- files/ru/web/api/beforeinstallpromptevent/index.html | 2 +- files/ru/web/api/beforeinstallpromptevent/prompt/index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'files/ru/web/api/beforeinstallpromptevent') diff --git a/files/ru/web/api/beforeinstallpromptevent/index.html b/files/ru/web/api/beforeinstallpromptevent/index.html index ab241f8f1d..d572446540 100644 --- a/files/ru/web/api/beforeinstallpromptevent/index.html +++ b/files/ru/web/api/beforeinstallpromptevent/index.html @@ -45,7 +45,7 @@ translation_of: Web/API/BeforeInstallPromptEvent

Пример

-
window.addEventListener("beforeinstallprompt", function(e) {
+
window.addEventListener("beforeinstallprompt", function(e) {
   // Зарегистрируйте платформы, указанные в качестве параметров, в запросе на установку
   console.log(e.platforms); // e.g., ["web", "android", "windows"]
   e.userChoice.then(function(choiceResult) {
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
 
 

Синтаксис

-
BeforeInstallPromptEvent.prompt()
+
BeforeInstallPromptEvent.prompt()

Параметры

@@ -26,7 +26,7 @@ translation_of: Web/API/BeforeInstallPromptEvent/prompt

Пример

-
var isTooSoon = true;
+
var isTooSoon = true;
 window.addEventListener("beforeinstallprompt", function(e) {
   if (isTooSoon) {
     e.preventDefault(); // Предотвращает быстрое отображение
-- 
cgit v1.2.3-54-g00ecf