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:
scottjehl 2011-03-27 01:59:36 -04:00
parent baa37e94b5
commit 368b875a02

View file

@ -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 ),