Closed eykd closed 8 years ago
It's a good example of why we could do with unittests. The change you made first was such a common fix that I assumed I'd made that bug (I've done that plenty of times before), but I didn't check your fix. Thanks for the follow up fix!
So, my previous fix was misunderstanding the situation. Inside a
filter()
lambda,this
is bound to the current DOM object. In order to callattr()
on it, we first need to wrap it in a jQuery object. This PR corrects my earlier mistake. Sorry about that!