File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 45
45
46
46
var architecture = browser . architecture == "arm" ? "arm64" : "64-bit" ;
47
47
var url = href [ 1 ] + 'download' + href [ 2 ] + '/Git-' + version [ 1 ] + '-' + architecture + '.exe' ;
48
- $ ( 'a.button:contains("Download")' ) [ 0 ] . href = url ;
48
+ document . getElementById ( "download" ) . href = url ;
49
49
} )
50
50
} catch ( e ) { }
51
51
{ { end - } }
Original file line number Diff line number Diff line change 17
17
< div class ="vcentercontainer ">
18
18
< div >
19
19
< h2 > We bring the awesome < span class ="gittext "> Git</ span > SCM to Windows</ h2 >
20
- < a name ="download " /> < a class ="button featurebutton " href ="https://github.com/git-for-windows/git/releases/latest " target ="_blank "> Download</ a >
20
+ < a id ="download " class ="button featurebutton " href ="https://github.com/git-for-windows/git/releases/latest " target ="_blank "> Download</ a >
21
21
< a class ="button featurebutton " href ="#contribute "> Contribute</ a >
22
22
</ div >
23
23
</ div >
You can’t perform that action at this time.
0 commit comments