aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/window/load_event
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-09-27 19:52:26 +0200
committerGitHub <noreply@github.com>2021-09-27 19:52:26 +0200
commitb57379257281efd293e51237969a8553a7c58ae7 (patch)
tree37d1e1dee8f3ab8a5e4d953d121f80f647a94b5e /files/fr/web/api/window/load_event
parentf139538f3148990f7b61d94f75d96381985a0c0e (diff)
downloadtranslated-content-b57379257281efd293e51237969a8553a7c58ae7.tar.gz
translated-content-b57379257281efd293e51237969a8553a7c58ae7.tar.bz2
translated-content-b57379257281efd293e51237969a8553a7c58ae7.zip
Fix web api fr upstream h2m (#2597)
* fix html examples with script * remove languages macro * enclose code words in <code> to avoid dot escape
Diffstat (limited to 'files/fr/web/api/window/load_event')
-rw-r--r--files/fr/web/api/window/load_event/index.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/files/fr/web/api/window/load_event/index.html b/files/fr/web/api/window/load_event/index.html
index d418a89a96..9226d9630b 100644
--- a/files/fr/web/api/window/load_event/index.html
+++ b/files/fr/web/api/window/load_event/index.html
@@ -74,13 +74,11 @@ original_slug: Web/Events/load
<h2 id="Exemple">Exemple</h2>
-<div>
-<pre>&lt;script&gt;
+<pre class="brush: html">&lt;script&gt;
window.addEventListener("load", function(event) {
console.log("Toutes les ressources sont chargées !");
});
&lt;/script&gt;</pre>
-</div>
<h2 id="Évènements_liés">Évènements liés</h2>