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/history/replacestate/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'files/ru/web/api/history/replacestate/index.html') diff --git a/files/ru/web/api/history/replacestate/index.html b/files/ru/web/api/history/replacestate/index.html index f9d79dd43d..ee54ccefa7 100644 --- a/files/ru/web/api/history/replacestate/index.html +++ b/files/ru/web/api/history/replacestate/index.html @@ -9,7 +9,7 @@ translation_of: Web/API/History/replaceState

Синтаксис

-
history.replaceState(stateObj, title, [url])
+
history.replaceState(stateObj, title, [url])

Параметры

@@ -26,7 +26,7 @@ translation_of: Web/API/History/replaceState

Предположим, на странице http://mozilla.org/foo.html выполняется следующий JavaScript-код:

-
let stateObj = { foo: "bar" }
+
let stateObj = { foo: "bar" }
 history.pushState(stateObj, "page 2", "bar.html")
 
@@ -34,7 +34,7 @@ history.pushState(stateObj, "page 2", "bar.html")

Далее, предположим, на странице http://mozilla.org/bar.html выполняется JavaScript-код:

-
history.replaceState(stateObj, "page 3", "bar2.html")
+
history.replaceState(stateObj, "page 3", "bar2.html")
 

Это приведёт к тому, что в URL-строке отобразится адрес http://mozilla.org/bar2.html, но браузер не станет сразу загружать bar2.html и даже не станет проверять наличие этой страницы bar2.html.

-- cgit v1.2.3-54-g00ecf