Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

after() method failed with single parameter

  • Loading branch information...
commit 914681b74282493c96e887095af0f11edcacf00d 1 parent 7da705a
Juan Ignacio Dopazo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/base/js/EventTarget.js
2  src/base/js/EventTarget.js
View
@@ -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);
},
Please sign in to comment.
Something went wrong with that request. Please try again.