aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/touchevent/touches/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/touchevent/touches/index.html')
-rw-r--r--files/ru/web/api/touchevent/touches/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ru/web/api/touchevent/touches/index.html b/files/ru/web/api/touchevent/touches/index.html
index e377e1b8a3..8d76645501 100644
--- a/files/ru/web/api/touchevent/touches/index.html
+++ b/files/ru/web/api/touchevent/touches/index.html
@@ -11,7 +11,7 @@ translation_of: Web/API/TouchEvent/touches
<h2 id="Синтаксис">Синтаксис</h2>
-<pre class="syntaxbox notranslate">var <em>touches</em> = <em>touchEvent</em>.touches;
+<pre class="syntaxbox">var <em>touches</em> = <em>touchEvent</em>.touches;
</pre>
<h3 id="Возвращаемое_значение">Возвращаемое значение</h3>
@@ -27,7 +27,7 @@ translation_of: Web/API/TouchEvent/touches
<p>В следующем фрагменте кода обработчик события {{event("touchstart")}} проверяет длину списка {{domxref("TouchEvent.touches")}} для определения количества точек касаний, которые были активированы, а затем вызывает разные обработчики в зависимости от количества таких точек.</p>
-<pre class="brush: js notranslate">someElement.addEventListener('touchstart', function(e) {
+<pre class="brush: js">someElement.addEventListener('touchstart', function(e) {
// Вызов определённого обработчика, в зависимости от
// количества точек касания
switch (e.touches.length) {