Commit 5fdaf554 by Thimo Kraemer

Added possibility to skip the creation of event binders

parent 2cbd494d
......@@ -723,7 +723,7 @@ kss._EventHandler = function(node, eventname, rule, initial) {
kss.each(kss._eventBinders[eventname], function(binder) {
try {
var bnd = new binder(this);
node._kssEvtBinders.push(bnd);
bnd && node._kssEvtBinders.push(bnd);
}
catch (err) {
this.error(err);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment