Skip to content

Commit

Permalink
Merge pull request #394 from madpew/patch-1
Browse files Browse the repository at this point in the history
fixes #378, broken twitter-avatars
  • Loading branch information
massar authored Sep 26, 2016
2 parents 9e08fa8 + b3c1cd8 commit 66a00cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ $(function () {
prettyPrint()

$(['OscarGodson', 'johnmdonahue', 'adam_bickford', 'sebnitu']).each(function (idx, val) {
var twimg = 'http://twitter.com/api/users/profile_image?screen_name=' + val
, twlink = 'http://twitter.com/' + val
var twimg = 'https://twitter.com/' + val + '/profile_image', twlink = 'https://twitter.com/' + val

$('#avatars').append('<a href="' + twlink + '"><img class="avatar" src="' + twimg + '">')
})
Expand Down

0 comments on commit 66a00cc

Please sign in to comment.