aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/windoweventhandlers
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/windoweventhandlers')
-rw-r--r--files/ru/web/api/windoweventhandlers/onpopstate/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ru/web/api/windoweventhandlers/onpopstate/index.html b/files/ru/web/api/windoweventhandlers/onpopstate/index.html
index 5c168c1a61..efcf2ad0d7 100644
--- a/files/ru/web/api/windoweventhandlers/onpopstate/index.html
+++ b/files/ru/web/api/windoweventhandlers/onpopstate/index.html
@@ -15,7 +15,7 @@ translation_of: Web/API/WindowEventHandlers/onpopstate
<h2 id="Syntax">Синтаксис</h2>
-<pre class="syntaxbox notranslate">window.onpopstate = <var>funcRef</var>;
+<pre class="syntaxbox">window.onpopstate = <var>funcRef</var>;
</pre>
<ul>
@@ -26,7 +26,7 @@ translation_of: Web/API/WindowEventHandlers/onpopstate
<p>В качестве примера, страница <code>http://example.com/example.html</code>, исполняя нижеследующий код, сгенерирует всплывающие сообщения, как показано в комментариях:</p>
-<pre class="brush:js notranslate">window.onpopstate = function(event) {
+<pre class="brush:js">window.onpopstate = function(event) {
alert("location: " + document.location + ", state: " + JSON.stringify(event.state));
};