diff options
Diffstat (limited to 'files/fr/web/api/window/offline_event/index.html')
-rw-r--r-- | files/fr/web/api/window/offline_event/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/fr/web/api/window/offline_event/index.html b/files/fr/web/api/window/offline_event/index.html index a038b1ea4a..fa7752a90c 100644 --- a/files/fr/web/api/window/offline_event/index.html +++ b/files/fr/web/api/window/offline_event/index.html @@ -36,7 +36,7 @@ translation_of: Web/API/Window/offline_event <h2 id="Exemples">Exemples</h2> -<pre class="brush: js notranslate">//version addEventListener +<pre class="brush: js">//version addEventListener window.addEventListener('offline', (event) => { console.log("La Connexion au réseau est perdu."); }); @@ -47,7 +47,7 @@ window.onoffline = (event) => { }; </pre> -<h2 class="brush: js" id="Spécifications">Spécifications</h2> +<h2 id="Spécifications">Spécifications</h2> <table class="standard-table"> <tbody> |