Skip to content

Commit 78082ec

Browse files
Ensure Event.extend returns the event.
1 parent 89b2d77 commit 78082ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dom/event.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,8 @@
470470

471471
Object.extend(event, methods);
472472
Object.extend(event, additionalMethods);
473+
474+
return event;
473475
};
474476
} else {
475477
// Only DOM events, so no manual extending necessary.

0 commit comments

Comments
 (0)