diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 234c0b80..943c25c4 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -45,7 +45,7 @@ var architecture = browser.architecture == "arm" ? "arm64" : "64-bit"; var url = href[1] + 'download' + href[2] + '/Git-' + version[1] + '-' + architecture + '.exe'; - $('a.button:contains("Download")')[0].href = url; + document.getElementById("download").href = url; }) } catch(e) {} {{ end -}} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index f78680b7..c26b33f5 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -17,7 +17,7 @@

We bring the awesome Git SCM to Windows

- Download + Download Contribute