prototype.js  - 1.6.1

I think there is a bug in function stopObserving

on line: 4571 there is:

    if (!responders) return;

i am quite sure it was supposed to be:

    if (!responders) return element;

Because it destroys chaining, I'v had in my code:

document.stopObserving('mousemove', somefunction).stopObserving
('mouseup', someotherfunction)

because there were no 'mousemove' handler the stopObserving returned
undefined instead of element

That is not what stopObserving is supposed to return.

Kind regards,

Rafał Michalski

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to 
prototype-core-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to