Skip to content

Commit

Permalink
Rough (non-working) cut
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Dec 20, 2011
1 parent 2cd578f commit eed8385
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion assets/www/js/settings.js
Expand Up @@ -17,9 +17,16 @@ function showSettings() {
hideOverlayDivs();
hideContent();
$('#settings').localize().show();
$('form.item').bind('touchstart', widenHitArea);
setActiveState();
}

function widenHitArea() {
console.log('focusing');
$('form.item').unbind('click', widenHitArea);
$(this).find('select').trigger('click');
}

function getLanguages() {

//$('#settings').addClass('inProgress');
Expand Down Expand Up @@ -85,4 +92,4 @@ function onLocaleChanged(selectedValue) {
var settingsDB = new Lawnchair({name:"settingsDB"}, function() {
this.save({key: "locale", value: currentLocale});
});
}
}

0 comments on commit eed8385

Please sign in to comment.