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