am 456a4e2d: am cb8a81a8: am a2561db3: am 8267ffcc: am cef9aab6: Merge "make sdk download links use HTTPS bug: 8033954" into klp-modular-docs

* commit '456a4e2d48cc4f81af11856d9db45e7ddeb84154':
  make sdk download links use HTTPS bug: 8033954
This commit is contained in:
smain@google.com
2014-10-07 22:43:11 +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);