From 368b875a02321da42ec7d7dbab3b4e4b1032ffc1 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 27 Mar 2011 01:59:36 -0400 Subject: [PATCH] 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! --- js/jquery.mobile.listview.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/js/jquery.mobile.listview.js b/js/jquery.mobile.listview.js index acc4fa7f..e847a984 100644 --- a/js/jquery.mobile.listview.js +++ b/js/jquery.mobile.listview.js @@ -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 ),