navigation whitespace

This commit is contained in:
John Bender 2011-04-10 22:58:21 -07:00
parent 7d6ff25543
commit c5ba91f0b9

View file

@ -238,13 +238,13 @@
//direct focus to the page title, or otherwise first focusable element
function reFocus( page ){
var lastClicked = page.jqmData( "lastClicked" );
if( lastClicked && lastClicked.length ){
lastClicked.focus();
}
else {
var pageTitle = page.find( ".ui-title:eq(0)" );
if( pageTitle.length ){
pageTitle.focus();
}
@ -695,7 +695,7 @@
);
event.preventDefault();
});
//add active state on vclick
$( "a" ).live( "vclick", function(){
$(this).closest( ".ui-btn" ).not( ".ui-disabled" ).addClass( $.mobile.activeBtnClass );