am 082ca3f2: am f973ced3: docs: better message for download page when os detection fails

* commit '082ca3f2de07ee6183343452a35f4afe2cdb7f3d':
  docs: better message for download page when os detection fails
This commit is contained in:
Scott Main 2012-06-28 12:06:35 -07:00 committed by Android Git Automerger
commit cf0c34d481
1 changed files with 3 additions and 2 deletions

View File

@ -210,11 +210,12 @@ var:sdk.linux_download
}
if (os) {
$('#download-button').text("Download the SDK for " + os).removeClass("disabled");
$('#not-supported').hide();
$('#download-button').show();
$('#download-button').text("Download the SDK for " + os);
$('#download-button').click(function() {onDownload($link.get());}).attr('href', $link.attr('href'));
} else {
$('.pax').show();
$('#download-button').css({'font-size':'14px'});
}
</script>