diff options
Diffstat (limited to 'files/fr/web/api/window/load_event/index.html')
| -rw-r--r-- | files/fr/web/api/window/load_event/index.html | 4 |
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><script> +<pre class="brush: html"><script> window.addEventListener("load", function(event) { console.log("Toutes les ressources sont chargées !"); }); </script></pre> -</div> <h2 id="Évènements_liés">Évènements liés</h2> |
