diff --git a/src/dom/event.js b/src/dom/event.js index 3a08d6c..fa3ab87 100644 --- a/src/dom/event.js +++ b/src/dom/event.js @@ -298,7 +298,7 @@ } var respondersForEvent = registry.get(eventName); - if (Object.isUndefined()) { + if (Object.isUndefined(respondersForEvent)) { respondersForEvent = []; registry.set(eventName, respondersForEvent); }