This commit is contained in:
scottjehl 2010-10-23 17:16:49 -04:00
parent 25c2ce5ce6
commit 6f5ce29175

View file

@ -109,7 +109,7 @@ jQuery.widget( "mobile.listview", jQuery.mobile.widget, {
}
});
// tapping the whole LI triggers ajaxClick on the first link
// tapping the whole LI triggers click on the first link
$list.delegate( "li", "click", function(event) {
if ( !jQuery( event.target ).closest( "a" ).length ) {
jQuery( this ).find( "a" ).first().trigger( "click" );