Permalink
Browse files

after() method failed with single parameter

  • Loading branch information...
1 parent 7da705a commit 914681b74282493c96e887095af0f11edcacf00d @juandopazo committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/base/js/EventTarget.js
@@ -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);
},

0 comments on commit 914681b

Please sign in to comment.