aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/beforeinstallpromptevent
diff options
context:
space:
mode:
authorAlexey Pyltsyn <lex61rus@gmail.com>2021-10-27 02:31:24 +0300
committerGitHub <noreply@github.com>2021-10-27 02:31:24 +0300
commit980fe00a74a9ad013b945755415ace2e5429c3c2 (patch)
treea1c6bb4b302e69bfa53eab13e44500eba55d1696 /files/ru/web/api/beforeinstallpromptevent
parent374a039b97a11ee7306539d16aaab27fed66b398 (diff)
downloadtranslated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.tar.gz
translated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.tar.bz2
translated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.zip
[RU] Remove notranslate (#2874)
Diffstat (limited to 'files/ru/web/api/beforeinstallpromptevent')
-rw-r--r--files/ru/web/api/beforeinstallpromptevent/index.html2
-rw-r--r--files/ru/web/api/beforeinstallpromptevent/prompt/index.html4
2 files changed, 3 insertions, 3 deletions
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
<h2 id="Пример">Пример</h2>
-<pre class="brush: js notranslate">window.addEventListener("beforeinstallprompt", function(e) {
+<pre class="brush: js">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
<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(); // Предотвращает быстрое отображение