Fixed paths in GitHub api lists from using api urls instead of HTML urls.

Signed-off-by: Brandon Mathis <brandon@imathis.com>
This commit is contained in:
Maxwell Swadling 2012-04-18 14:49:58 +10:00 committed by Brandon Mathis
parent 693fc29572
commit b69e876828

View File

@ -3,7 +3,7 @@ var github = (function(){
var i = 0, fragment = '', t = $(target)[0];
for(i = 0; i < repos.length; i++) {
fragment += '<li><a href="'+repos[i].url+'">'+repos[i].name+'</a><p>'+repos[i].description+'</p></li>';
fragment += '<li><a href="'+repos[i].html_url+'">'+repos[i].name+'</a><p>'+repos[i].description+'</p></li>';
}
t.innerHTML = fragment;
}