aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/gamepadbutton/value/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/gamepadbutton/value/index.html')
-rw-r--r--files/ru/web/api/gamepadbutton/value/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ru/web/api/gamepadbutton/value/index.html b/files/ru/web/api/gamepadbutton/value/index.html
index cf0f8274f9..27ab35d435 100644
--- a/files/ru/web/api/gamepadbutton/value/index.html
+++ b/files/ru/web/api/gamepadbutton/value/index.html
@@ -11,11 +11,11 @@ translation_of: Web/API/GamepadButton/value
<h2 id="Синтаксис">Синтаксис</h2>
-<pre class="syntaxbox notranslate"><span class="idlInterface" id="idl-def-GamepadButton"><span class="idlAttribute"> readonly attribute <span class="idlAttrType">double</span> <span class="idlAttrName">value</span>;</span></span></pre>
+<pre class="syntaxbox"><span class="idlInterface" id="idl-def-GamepadButton"><span class="idlAttribute"> readonly attribute <span class="idlAttrType">double</span> <span class="idlAttrName">value</span>;</span></span></pre>
<h2 id="Пример">Пример</h2>
-<pre class="brush: js notranslate">var gp = navigator.getGamepads()[0];
+<pre class="brush: js">var gp = navigator.getGamepads()[0];
if(gp.buttons[0].value &gt; 0) {
// respond to analog button being pressed in