Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
In android 2.1 and 1.6, the split button anchor needed to be a siblin…
Browse files Browse the repository at this point in the history
…g of the overall row button div in the LI. It seems this may be due to the event handlers bound to the div button, but I'm not entirely sure that's it. Either way, this workaround is straightforward and does not introduce issues in other browsers, so aside from the additional overhead involved in re-appending the links to the LIs, this fix is good to go. Fixes #874
  • Loading branch information
scottjehl committed Feb 3, 2011
1 parent a79799e commit 16c743a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/jquery.mobile.listview.js
Expand Up @@ -204,6 +204,7 @@ $.widget( "mobile.listview", $.mobile.widget, {
splittheme = $list.data( "splittheme" ) || last.data( "theme" ) || o.splitTheme;

last
.appendTo(item)
.attr( "title", last.text() )
.addClass( "ui-li-link-alt" )
.empty()
Expand Down

0 comments on commit 16c743a

Please sign in to comment.