aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/globaleventhandlers/onkeydown
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/globaleventhandlers/onkeydown')
-rw-r--r--files/ru/web/api/globaleventhandlers/onkeydown/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/ru/web/api/globaleventhandlers/onkeydown/index.html b/files/ru/web/api/globaleventhandlers/onkeydown/index.html
index 7b571592f5..04de1619ca 100644
--- a/files/ru/web/api/globaleventhandlers/onkeydown/index.html
+++ b/files/ru/web/api/globaleventhandlers/onkeydown/index.html
@@ -15,7 +15,7 @@ translation_of: Web/API/GlobalEventHandlers/onkeydown
<h2 id="Синтаксис">Синтаксис</h2>
-<pre class="syntaxbox notranslate">element.onkeydown = <var>event handling code</var>
+<pre class="syntaxbox">element.onkeydown = <var>event handling code</var>
</pre>
<h3 id="Значение">Значение</h3>
@@ -28,12 +28,12 @@ translation_of: Web/API/GlobalEventHandlers/onkeydown
<h3 id="HTML">HTML</h3>
-<pre class="brush: html notranslate">&lt;input&gt;
+<pre class="brush: html">&lt;input&gt;
&lt;p id="log"&gt;&lt;/p&gt;</pre>
<h3 id="JavaScript">JavaScript</h3>
-<pre class="brush: js notranslate">const input = document.querySelector('input');
+<pre class="brush: js">const input = document.querySelector('input');
const log = document.getElementById('log');
input.onkeydown = logKey;