Yep, I get that. I found a workaround. I add only one click event on the document. Then, the relatedTarget gives me the link, which allows me to dispatch the event as it was delegation.
Is that a good solution to overcome this problem? On 12 sep, 00:09, Christoph Pojer <[email protected]> wrote: > My custom click event in mootools-mobile deletes the native click and > replaces it with a custom one. When you use addEvent('click', fn) with > mootools-mobile, it does not actually add a click event any more ;) > > On Sep 11, 11:17 pm, Savageman <[email protected]> wrote: > > > > > "Please just refrain from using delegation for my custom click event > > for now" > > I didn't see that. What's the problem with delegating this click > > event? I don't see how I could do if not delegating here...
