aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/windoweventhandlers/onbeforeunload/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/api/windoweventhandlers/onbeforeunload/index.html')
-rw-r--r--files/fr/web/api/windoweventhandlers/onbeforeunload/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/fr/web/api/windoweventhandlers/onbeforeunload/index.html b/files/fr/web/api/windoweventhandlers/onbeforeunload/index.html
index 0848a6ae06..638f24c27b 100644
--- a/files/fr/web/api/windoweventhandlers/onbeforeunload/index.html
+++ b/files/fr/web/api/windoweventhandlers/onbeforeunload/index.html
@@ -11,7 +11,7 @@ translation_of: Web/API/WindowEventHandlers/onbeforeunload
<pre class="brush: html">&lt;element beforeunload="funcRef(event);" /&gt;</pre>
-<pre class="brush: js">&lt;script type="text/javascript"&gt;
+<pre class="brush: html">&lt;script type="text/javascript"&gt;
window.onbeforeunload = funcRef
&lt;/script&gt;</pre>