removeClass( "ui-link" ) on first anchor in the li

This commit is contained in:
Ghislain Seguin 2011-12-01 17:16:47 -08:00 committed by scottjehl
parent 88d5f0f89a
commit eed95e982d

View file

@ -191,7 +191,7 @@ $.widget( "mobile.listview", $.mobile.widget, {
item.addClass( "ui-li-has-arrow" );
}
a.first().addClass( "ui-link-inherit" );
a.first().removeClass( "ui-link" ).addClass( "ui-link-inherit" );
if ( a.length > 1 ) {
itemClass += " ui-li-has-alt";