| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3a682cc commit 453df77
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -200,7 +200,7 @@ class Event { | |||
| 200 | 200 | get currentTarget() { | |
| 201 | 201 | if (!isEvent(this)) | |
| 202 | 202 | throw new ERR_INVALID_THIS('Event'); | |
| 203 | - return this[kTarget]; | ||
| 203 | + return this[kIsBeingDispatched] ? this[kTarget] : null; | ||
| 204 | 204 | } | |
| 205 | 205 | ||
| 206 | 206 | /** | |
| Back | FazBrowse Home | New Git URL |
0 commit comments