mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-05 13:14:45 +00:00
no longer needed, as anchors now fill the LI and have no click handling applied.
This commit is contained in:
parent
f4e5492b9e
commit
58c0d1d1fb
1 changed files with 0 additions and 4 deletions
|
|
@ -237,10 +237,6 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
|
|||
|
||||
//events for list items
|
||||
list.delegate("li:not(.ui-disabled, .ui-li-divider)", "click", function(event){
|
||||
// clicking on the list item fires click on the link in listview.js.
|
||||
// to prevent this handler from firing twice if the link isn't clicked on,
|
||||
// short circuit unless the target is the link
|
||||
if( !$(event.target).is("a") ){ return; }
|
||||
|
||||
// index of option tag to be selected
|
||||
var newIndex = list.find( "li:not(.ui-li-divider)" ).index( this ),
|
||||
|
|
|
|||
Loading…
Reference in a new issue