Skip to content

Commit

Permalink
Fix github avatars (&s=64 results in invalid url)
Browse files Browse the repository at this point in the history
  • Loading branch information
kvz committed Mar 4, 2014
1 parent f872434 commit e1487e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/in-the-githubs
Expand Up @@ -71,7 +71,7 @@ cli.main(function(args, options) {
}
for (var i in users[type]) {
bufSnippet += " " + '<a target="_blank" rel="tooltip" data-placement="bottom" title="' + users[type][i].login + '" href="' + users[type][i].html_url + '">';
bufSnippet += '<img src="' + users[type][i].avatar_url + '&s=64" />';
bufSnippet += '<img src="' + users[type][i].avatar_url + '" />';
bufSnippet += '</a>' + "\n";
}
}
Expand Down
2 changes: 1 addition & 1 deletion js/jquery.on-the-githubs.js
Expand Up @@ -78,7 +78,7 @@
for (var i = 0; i < data.data.length; i++) {
var item = data.data[i];

var gravatarSrc = item.actor.avatar_url + '&s=64';
var gravatarSrc = item.actor.avatar_url;
var username = item.actor.login;
var action = '';
var branch = '';
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "on-the-githubs",
"version": "2.0.7",
"version": "2.1.7",
"description": "Uses GitHub API3 to aggregate community activity of open source projects",
"homepage": "https://github.com/kvz/on-the-githubs",
"author": "Kevin van Zonneveld <kevin@vanzonneveld.net>",
Expand Down

0 comments on commit e1487e7

Please sign in to comment.