navbar with <ul></ul> throws error about nth-child

navbar with <ul></ul> throws error about nth-child

Hi,

jQM 1.2.0, 1.3.0-rc.1

<div data-role="navbar"><ul></ul></div>

throws an error out of jQuery.  Reason seems to be that in $.fn.grid = function( options ) { at about 5572 ) the variable grid is null resulting in an undefined value for iterator.

Inserting a check for zero children after if ( !grid) (5556) seems to fix the problem

if ( $kids.length == 0 )
   return;

Dan