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