am f973ced3: docs: better message for download page when os detection fails
* commit 'f973ced37e2d065c0aa41bb5563abad7518bea61': docs: better message for download page when os detection fails
This commit is contained in:
commit
082ca3f2de
|
@ -210,11 +210,12 @@ var:sdk.linux_download
|
||||||
}
|
}
|
||||||
|
|
||||||
if (os) {
|
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'));
|
$('#download-button').click(function() {onDownload($link.get());}).attr('href', $link.attr('href'));
|
||||||
} else {
|
} else {
|
||||||
$('.pax').show();
|
$('.pax').show();
|
||||||
$('#download-button').css({'font-size':'14px'});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue