Add TODO for browser sniffing

This commit is contained in:
Wesley Moore 2010-06-15 08:20:12 +10:00
parent 58b92a341b
commit a03d6693e4

View file

@ -9,7 +9,7 @@ var WezM = {
onSelect: this._searchItemSelected, onSelect: this._searchItemSelected,
width: '400px' width: '400px'
}); });
if(navigator.userAgent.toLowerCase().indexOf('webkit') >= 0) { if(navigator.userAgent.toLowerCase().indexOf('webkit') >= 0) { // TODO: This is too generic (iPhone)
$('#search input').css('paddingTop', 0); $('#search input').css('paddingTop', 0);
} }
// The following should be triggered onchange for the input as well // The following should be triggered onchange for the input as well