aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/worker/onmessage/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/api/worker/onmessage/index.md')
-rw-r--r--files/fr/web/api/worker/onmessage/index.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/fr/web/api/worker/onmessage/index.md b/files/fr/web/api/worker/onmessage/index.md
index 5e3e925e37..98c6720c15 100644
--- a/files/fr/web/api/worker/onmessage/index.md
+++ b/files/fr/web/api/worker/onmessage/index.md
@@ -32,8 +32,8 @@ first.onchange = function() {
}
myWorker.onmessage = function(e) {
-  result.textContent = e.data;
-  console.log('Message reçu du worker');
+ result.textContent = e.data;
+ console.log('Message reçu du worker');
}
```