[wp-hackers] bug in wp-lists.js in 2.7 ?

Austin Matzko if.website at gmail.com
Wed Dec 17 01:27:35 GMT 2008


On Tue, Dec 16, 2008 at 8:19 PM, andré renaut <andre.renaut at gmail.com> wrote:
> and noticed that in wp-lists.js, line 252 is
>
>        } while ( elem = elem.parentNode );
>
> and should be
>
>        } while ( elem == elem.parentNode );
>
> What do you think ?

I don't think so.  It's continuing the loop while one can set elem to
its parent element.


More information about the wp-hackers mailing list