Skip to content

Commit

Permalink
fixup! feat(core): Remove enums from event-dispatch.
Browse files Browse the repository at this point in the history
  • Loading branch information
iteriani committed May 8, 2024
1 parent 8ae1911 commit ed6f5fb
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -9,7 +9,7 @@
import {Attribute} from './attribute';
import {Char} from './char';
import {EventType} from './event_type';
import {Property} from './property';
import {OWNER} from './property';
import * as a11yClick from './a11y_click';
import * as cache from './cache';
import * as eventInfoLib from './event_info';
Expand Down Expand Up @@ -143,8 +143,8 @@ export class ActionResolver {
// ancestor chain of the event target node.
break;
}
if (actionElement[Property.OWNER]) {
actionElement = actionElement[Property.OWNER] as Element;
if (actionElement[OWNER]) {
actionElement = actionElement[OWNER] as Element;
continue;
}
if (actionElement.parentNode?.nodeName !== '#document-fragment') {
Expand Down

0 comments on commit ed6f5fb

Please sign in to comment.