Permalink
Browse files

fix: EventCompiler ignored the events defined for the base-Element

  • Loading branch information...
MikeMitterer committed Nov 26, 2015
1 parent 3fa59d6 commit 8825806863fd542048bb1499d445beb520ee44b5
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/src/application/modules/EventCompiler.dart
@@ -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);
}

0 comments on commit 8825806

Please sign in to comment.