aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/gamepadbutton/pressed
diff options
context:
space:
mode:
authorAlexey Pyltsyn <lex61rus@gmail.com>2021-10-27 02:31:24 +0300
committerGitHub <noreply@github.com>2021-10-27 02:31:24 +0300
commit980fe00a74a9ad013b945755415ace2e5429c3c2 (patch)
treea1c6bb4b302e69bfa53eab13e44500eba55d1696 /files/ru/web/api/gamepadbutton/pressed
parent374a039b97a11ee7306539d16aaab27fed66b398 (diff)
downloadtranslated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.tar.gz
translated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.tar.bz2
translated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.zip
[RU] Remove notranslate (#2874)
Diffstat (limited to 'files/ru/web/api/gamepadbutton/pressed')
-rw-r--r--files/ru/web/api/gamepadbutton/pressed/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ru/web/api/gamepadbutton/pressed/index.html b/files/ru/web/api/gamepadbutton/pressed/index.html
index 999b15582d..f97f697ab8 100644
--- a/files/ru/web/api/gamepadbutton/pressed/index.html
+++ b/files/ru/web/api/gamepadbutton/pressed/index.html
@@ -9,12 +9,12 @@ translation_of: Web/API/GamepadButton/pressed
<h2 id="Синтаксис">Синтаксис</h2>
-<pre class="syntaxbox notranslate"><span class="idlInterface" id="idl-def-GamepadButton"><span class="idlAttribute">var isPressed = navigator.getGamepads()[0].pressed;
+<pre class="syntaxbox"><span class="idlInterface" id="idl-def-GamepadButton"><span class="idlAttribute">var isPressed = navigator.getGamepads()[0].pressed;
</span></span></pre>
<h2 id="Пример">Пример</h2>
-<pre class="brush: js notranslate">var gp = navigator.getGamepads()[0]; // Get the first gamepad object
+<pre class="brush: js">var gp = navigator.getGamepads()[0]; // Get the first gamepad object
if(gp.buttons[0].pressed == true) {
// respond to button being pressed