This sounds like a bug. If you'll file it at lighthouse (
https://mootools.lighthouseapp.com/projects/24057-mootoolsmore) we'll work
on it for 1.2.5.

On Fri, Sep 17, 2010 at 7:19 PM, Enric <[email protected]> wrote:

> Hi, I am working in a project in which we updated to mootools 1.2.5.
> Some problems appeared in functions that are triggered (...fired) by
> event delegation.
>
> With mootools 1.2.4 "this" inside that functions referes to the
> element where the event is delegated that matches the selector, and
> with 1.2.5 "this" referes to the element where the event is attached.
>
> Maybe I'm a explaining it bad, here are the examples:
> with 1.2.5: http://jsfiddle.net/fyuc5/1/
> with 1.2.4: http://jsfiddle.net/fyuc5/2/
>
> Which would be the correct use of "this" inside event delegation?
>
> Thanks, bye.
> Enric
>

Reply via email to