diff options
author | Brandon Mathis <brandon@imathis.com> | 2013-03-10 14:35:00 -0500 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2013-03-10 14:35:00 -0500 |
commit | c35ff7b6604bba61b80fb6371d7cda9920c09a81 (patch) | |
tree | 648885126e69530a9a8b33d45235ad5a55423023 /.themes | |
parent | 4157cda54c1f56b8dd512aa4aa4e018b66beec21 (diff) | |
download | my_new_personal_website-c35ff7b6604bba61b80fb6371d7cda9920c09a81.tar.xz my_new_personal_website-c35ff7b6604bba61b80fb6371d7cda9920c09a81.zip |
Fixed GitHub jsonp call. Closed #1118
Diffstat (limited to '.themes')
-rw-r--r-- | .themes/classic/source/javascripts/github.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.themes/classic/source/javascripts/github.js b/.themes/classic/source/javascripts/github.js index 6cfc0b0b..fc2bb12c 100644 --- a/.themes/classic/source/javascripts/github.js +++ b/.themes/classic/source/javascripts/github.js @@ -14,7 +14,7 @@ var github = (function(){ showRepos: function(options){ $.ajax({ url: "https://api.github.com/users/"+options.user+"/repos?sort=pushed&callback=?" - , type: 'jsonp' + , dataType: 'jsonp' , error: function (err) { $(options.target + ' li.loading').addClass('error').text("Error loading feed"); } , success: function(data) { var repos = []; |