diff options
Diffstat (limited to 'files/fr/web/api/pointer_events/index.html')
-rw-r--r-- | files/fr/web/api/pointer_events/index.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/files/fr/web/api/pointer_events/index.html b/files/fr/web/api/pointer_events/index.html index 0e26e4cbda..734d88d9f5 100644 --- a/files/fr/web/api/pointer_events/index.html +++ b/files/fr/web/api/pointer_events/index.html @@ -141,7 +141,7 @@ translation_of: Web/API/Pointer_events <p>This example registers a handler for every event type for the given element.</p> -<pre class="brush: js"><html> +<pre class="brush: html"><html> <script> function over_handler(event) { } function enter_handler(event) { } @@ -179,7 +179,7 @@ function init() { <p>This example illustrates accessing all of a touch event's properties.</p> -<pre class="brush: js"><html> +<pre class="brush: html"><html> <script> var id = -1; @@ -310,7 +310,7 @@ function init() { <p>The following example shows pointer capture being set on an element.</p> -<pre class="brush: js"><html> +<pre class="brush: html"><html> <script> function downHandler(ev) { var el=document.getElementById("target"); @@ -330,7 +330,7 @@ function init() { <p>The following example shows a pointer capture being released (when a {{event("pointercancel")}} event occurs. The browser does this automatically when a {{event("pointerup")}} or {{event("pointercancel")}} event occurs.</p> -<pre class="brush: js"><html> +<pre class="brush: html"><html> <script> function downHandler(ev) { var el=document.getElementById("target"); |