Merge pull request #1826 from leviding/patch-11

Fix minor type errer: delete addition space
This commit is contained in:
Alexey Pyltsyn 2020-03-29 05:53:58 +03:00 committed by GitHub
commit 6d81d3dc61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -236,7 +236,7 @@ For instance, here the nested `menu-open` event is processed synchronously, duri
document.addEventListener('menu-open', () => alert('nested'));
</script>
```
```
The output order is: 1 -> nested -> 2.
@ -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'));
</script>
```
```
Now `dispatchEvent` runs asynchronously after the current code execution is finished, including `mouse.onclick`, so event handlers are totally separate.