click instead of tap

This commit is contained in:
scottjehl 2010-10-22 19:00:22 -04:00
parent fe468ccc9e
commit f32d9dddc1

View file

@ -32,7 +32,7 @@ $.fn.navbar = function(settings){
$navbar
.find('ul a')
.buttonMarkup({corners: false, shadow:false, iconpos: o.iconpos})
.bind('tap',function(){
.bind('click',function(){
//NOTE: we'll need to find a way to highlight an active tab at load as well
$navbar.find('.ui-btn-active').removeClass('ui-btn-active');
$(this).addClass('ui-btn-active');