Skip to content

Commit

Permalink
fix(fast-element): default event handler behavior should be no capture (
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect authored Jun 18, 2020
1 parent 8050a3d commit a59e4df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function triggerBind(
): void {
this.source = source;
this.context = context;
this.target.addEventListener(this.targetName!, this, true);
this.target.addEventListener(this.targetName!, this);
}

function normalUnbind(this: BindingBehavior): void {
Expand Down Expand Up @@ -60,7 +60,7 @@ function contentUnbind(this: BindingBehavior): void {
}

function triggerUnbind(this: BindingBehavior): void {
this.target.removeEventListener(this.targetName!, this, true);
this.target.removeEventListener(this.targetName!, this);
this.source = null;
this.context = null;
}
Expand Down

0 comments on commit a59e4df

Please sign in to comment.