I discovered two mistakes in the documentation of Element.getFirst()
[http://mootools.net/docs/Element/Element#Element:getFirst] and
Element.getLast() [http://mootools.net/docs/Element/
Element#Element:getLast].

At the "Returns" section of the method description it says:
(mixed) The first sibling Element or null if none found.
and
(mixed) The last sibling Element or null if none found.

However, the method does not return the first/last sibling, it returns
the first/last child of the element on which it's called.
It's a minor mistake, but it means something fundamentally different.

Regards,
Loe Spee

Reply via email to