am cef9aab6: Merge "make sdk download links use HTTPS bug: 8033954" into klp-modular-docs

* commit 'cef9aab68ec45340186261d39ded6261ba1c5966':
  make sdk download links use HTTPS bug: 8033954
This commit is contained in:
smain@google.com
2014-10-03 22:13:14 +00:00
committed by Android Git Automerger

View File

@@ -14,9 +14,9 @@ hide_license_footer=true
if (location.indexOf('?v=') != -1) {
var filename = location.substring(location.indexOf('=')+1,location.length);
if (document.getElementById('checkbox').checked) {
document.location = "http://dl.google.com/android/" + filename;
document.location = "https://dl.google.com/android/" + filename;
}
document.getElementById('click-download').setAttribute("href", "http://dl.google.com/android/"
document.getElementById('click-download').setAttribute("href", "https://dl.google.com/android/"
+ filename);
$("#terms-form").hide(500);
$("#next-steps").show(500);