mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
delegated clicks on anchors don't seem to cause the same visual problems in WinMo7 that they did when click events were bound to LIs. Removing workaround then!
This commit is contained in:
parent
baa37e94b5
commit
368b875a02
1 changed files with 0 additions and 9 deletions
|
|
@ -162,15 +162,6 @@ $.widget( "mobile.listview", $.mobile.widget, {
|
|||
|
||||
li.first().attr( "tabindex", "0" );
|
||||
|
||||
//workaround for Windows Phone 7 focus/active tap color
|
||||
//without this, delegated events will highlight the whole list, rather than the LI
|
||||
if( $.mobile.browser.ie && $.mobile.browser.ie <= 8 ){
|
||||
li
|
||||
.unbind( "mousedown.iefocus" )
|
||||
.bind( "mousedown.iefocus", function(e){
|
||||
e.preventDefault();
|
||||
});
|
||||
}
|
||||
|
||||
li.each(function( pos ) {
|
||||
var item = $( this ),
|
||||
|
|
|
|||
Loading…
Reference in a new issue