am a2561db3: am 8267ffcc: am cef9aab6: Merge "make sdk download links use HTTPS bug: 8033954" into klp-modular-docs
* commit 'a2561db3869fea0dfc193ae6b5fc2d09c40cb3eb': make sdk download links use HTTPS bug: 8033954
This commit is contained in:
@@ -14,9 +14,9 @@ hide_license_footer=true
|
|||||||
if (location.indexOf('?v=') != -1) {
|
if (location.indexOf('?v=') != -1) {
|
||||||
var filename = location.substring(location.indexOf('=')+1,location.length);
|
var filename = location.substring(location.indexOf('=')+1,location.length);
|
||||||
if (document.getElementById('checkbox').checked) {
|
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);
|
+ filename);
|
||||||
$("#terms-form").hide(500);
|
$("#terms-form").hide(500);
|
||||||
$("#next-steps").show(500);
|
$("#next-steps").show(500);
|
||||||
|
|||||||
Reference in New Issue
Block a user