aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/static/js/github.js
diff options
context:
space:
mode:
authorDaan Debie <debie.daan@gmail.com>2014-01-27 23:38:37 +0100
committerDaan Debie <debie.daan@gmail.com>2014-01-27 23:39:08 +0100
commitfd1a4eaba46c1def74bd6905bce15c61bb326ed5 (patch)
treea768a44479fcec3e04307f4035b30a689ae6d826 /pelican-bootstrap3/static/js/github.js
parentc35cbabcaf4807b9474203a2fbd809883b08ad50 (diff)
downloadpelican-themes-fd1a4eaba46c1def74bd6905bce15c61bb326ed5.tar.gz
Updated pelican-bootstrap to v1.2
Diffstat (limited to 'pelican-bootstrap3/static/js/github.js')
-rw-r--r--pelican-bootstrap3/static/js/github.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/pelican-bootstrap3/static/js/github.js b/pelican-bootstrap3/static/js/github.js
index 7bdb6a4..ae6a3b6 100644
--- a/pelican-bootstrap3/static/js/github.js
+++ b/pelican-bootstrap3/static/js/github.js
@@ -4,10 +4,12 @@ var github = (function(){
}
function render(target, repos){
var i = 0, fragment = '', t = $(target)[0];
+ fragment += '<ul class="list-group" id="github">';
for(i = 0; i < repos.length; i++) {
fragment += '<li class="list-group-item"><a href="'+repos[i].html_url+'">'+repos[i].name+'</a><p><small>'+escapeHtml(repos[i].description||'')+'</small></p></li>';
}
+ fragment += '</ul>';
t.innerHTML = fragment;
}
return {