jquery/jquery-mobile — pull request #3509 by dericcrago (2012-01-31 08:14:47+00:00)
Title: Issue 3508: changed children( el ) to find( el ).not( div > el ) to more closely match the docs

changed children( el ) to find( el ).not( div > el ) to more closely reflect the [docs](http://jquerymobile.com/test/docs/toolbars/docs-headers.html)

the docs read:

>If you need to to create a header that doesn't follow the default configuration, simply wrap your custom styled markup in a container div inside the header container and the plugin won't apply the automatic button logic so you can write custom styles for laying out the content in your header.

the actual code however, is only checking the children and therefore if it's wrapped in any tag (not just a div), it will not have the automatic styling applied.