Skip to content
Browse files

- using now removeListener for undelegation onAdd #103

  • Loading branch information...
1 parent 9334d31 commit 3a9af97fd12b4807bb41263a836f8cc5c542aa24 topa committed Oct 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/client/ViewCollection.class.js
View
2 lib/client/ViewCollection.class.js
@@ -239,7 +239,7 @@ var ViewCollection = new Class("ViewCollection", {
// and it will behave like removeAllListeners for given, but unattached event.
if (this.__delegateOnAdd.event) {
_(this.__delegateOnAdd.event).each(function removeOnAddForEvent(onAdd) {
- self.Super.removeAllListeners("add", onAdd)
+ self.Super.removeListener("add", onAdd)
});
}
},

0 comments on commit 3a9af97

Please sign in to comment.
Something went wrong with that request. Please try again.