forked from openkylin/platform_build
docs: better message for download page when os detection fails
Change-Id: I940c0847ddc214ef36bfd0708d289cff200dfc62
This commit is contained in:
parent
810e288914
commit
f973ced37e
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue