From f973ced37e2d065c0aa41bb5563abad7518bea61 Mon Sep 17 00:00:00 2001 From: Scott Main Date: Thu, 28 Jun 2012 11:56:01 -0700 Subject: [PATCH] docs: better message for download page when os detection fails Change-Id: I940c0847ddc214ef36bfd0708d289cff200dfc62 --- tools/droiddoc/templates-sdk/sdkpage.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/droiddoc/templates-sdk/sdkpage.cs b/tools/droiddoc/templates-sdk/sdkpage.cs index 17c1354f6..c0f3be7da 100644 --- a/tools/droiddoc/templates-sdk/sdkpage.cs +++ b/tools/droiddoc/templates-sdk/sdkpage.cs @@ -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'}); }