Skip to content

Commit

Permalink
after() method failed with single parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
juandopazo committed Apr 16, 2012
1 parent 7da705a commit 914681b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/js/EventTarget.js
Expand Up @@ -169,7 +169,7 @@ $.mix(EventTarget.prototype, {
events['after' + Lang.capitalize(name)] = fn;
});
} else {
events[eventType] = callback;
events['after' + Lang.capitalize(eventType)] = callback;
}
return this.on(events, thisp);
},
Expand Down

0 comments on commit 914681b

Please sign in to comment.