Skip to content

Commit

Permalink
chore: fix linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
andycall committed Jul 7, 2023
1 parent 46b8aa5 commit 9596be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webf/lib/src/dom/event_target.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ abstract class EventTarget extends BindingObject {
if (_disposed) return;
bool capture = false;
if (addEventListenerOptions != null)
capture = addEventListenerOptions!.capture;
capture = addEventListenerOptions.capture;
List<EventHandler>? existHandler = capture ? _eventCaptureHandlers[eventType] : _eventHandlers[eventType];
if (existHandler == null) {
if (capture)
Expand Down

0 comments on commit 9596be1

Please sign in to comment.