diff --git a/2-ui/2-events/05-dispatch-events/article.md b/2-ui/2-events/05-dispatch-events/article.md index c2693672..ee3e7487 100644 --- a/2-ui/2-events/05-dispatch-events/article.md +++ b/2-ui/2-events/05-dispatch-events/article.md @@ -263,7 +263,7 @@ If we don't like it, we can either put the `dispatchEvent` (or other event-trigg document.addEventListener('menu-open', () => alert('nested')); -``` +``` Now `dispatchEvent` runs asynchronously after the current code execution is finished, including `mouse.onclick`, so event handlers are totally separate.