aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/location
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/location')
-rw-r--r--files/ru/web/api/location/reload/index.html4
-rw-r--r--files/ru/web/api/location/replace/index.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/files/ru/web/api/location/reload/index.html b/files/ru/web/api/location/reload/index.html
index 1b92be71f9..271f81772b 100644
--- a/files/ru/web/api/location/reload/index.html
+++ b/files/ru/web/api/location/reload/index.html
@@ -17,12 +17,12 @@ translation_of: Web/API/Location/reload
<h2 id="Синтаксис">Синтаксис</h2>
-<pre class="syntaxbox notranslate"><em>location</em>.reload();
+<pre class="syntaxbox"><em>location</em>.reload();
</pre>
<h2 id="Примеры">Примеры</h2>
-<pre class="brush: js notranslate">// Перезагрузить текущую страницу
+<pre class="brush: js">// Перезагрузить текущую страницу
document.location.reload();</pre>
<h2 id="Спецификации">Спецификации</h2>
diff --git a/files/ru/web/api/location/replace/index.html b/files/ru/web/api/location/replace/index.html
index 2a33c1a694..398c9637a4 100644
--- a/files/ru/web/api/location/replace/index.html
+++ b/files/ru/web/api/location/replace/index.html
@@ -19,7 +19,7 @@ translation_of: Web/API/Location/replace
<h2 id="Синтаксис">Синтаксис</h2>
-<pre class="syntaxbox notranslate"><em>object</em>.replace(<em>url</em>);
+<pre class="syntaxbox"><em>object</em>.replace(<em>url</em>);
</pre>
<h3 id="Параметры">Параметры</h3>
@@ -31,7 +31,7 @@ translation_of: Web/API/Location/replace
<h2 id="Примеры">Примеры</h2>
-<pre class="brush: js notranslate">// Перейти на статью Location.reload, заменив текущую страницу
+<pre class="brush: js">// Перейти на статью Location.reload, заменив текущую страницу
document.location.replace('https://developer.mozilla.org/en-US/docs/Web/API/Location.reload');</pre>
<h2 id="Спецификации">Спецификации</h2>