aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/javascripts
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2013-03-10 14:35:00 -0500
committerBrandon Mathis <brandon@imathis.com>2013-03-10 14:35:00 -0500
commitc35ff7b6604bba61b80fb6371d7cda9920c09a81 (patch)
tree648885126e69530a9a8b33d45235ad5a55423023 /.themes/classic/source/javascripts
parent4157cda54c1f56b8dd512aa4aa4e018b66beec21 (diff)
downloadmy_new_personal_website-c35ff7b6604bba61b80fb6371d7cda9920c09a81.tar.xz
my_new_personal_website-c35ff7b6604bba61b80fb6371d7cda9920c09a81.zip
Fixed GitHub jsonp call. Closed #1118
Diffstat (limited to '.themes/classic/source/javascripts')
-rw-r--r--.themes/classic/source/javascripts/github.js2
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 = [];