Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7fae871

Browse filesBrowse files
committed
fix: accidental reference to event rather than this
1 parent 775f6fe commit 7fae871
Copy full SHA for 7fae871

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎packages/core/data/dom-events/dom-event.ts

Copy file name to clipboardExpand all lines: packages/core/data/dom-events/dom-event.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ export class DOMEvent implements Event {
375375
returnValue.catch(console.error);
376376
}
377377

378-
if (passive && event.defaultPrevented) {
378+
if (passive && this.defaultPrevented) {
379379
console.warn('Unexpected call to event.preventDefault() in passive event listener.');
380380
}
381381

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.