Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Commit

Permalink
fix: EventCompiler ignored the events defined for the base-Element
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMitterer committed Nov 26, 2015
1 parent 3fa59d6 commit 8825806
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/src/application/modules/EventCompiler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ class EventCompiler {

// Create new List because querySelectorAll returns a ImmutableList!
final List<dom.Element> elements = new List.from(element.querySelectorAll("[data-${dataset}]"));

// If the current element has this attribute add it to the list
if(element.attributes.containsKey("data-${dataset}")) {
// If the current element has this attribute add it to the list
elements.add(element);
}

Expand Down

0 comments on commit 8825806

Please sign in to comment.