From c35ff7b6604bba61b80fb6371d7cda9920c09a81 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sun, 10 Mar 2013 14:35:00 -0500 Subject: Fixed GitHub jsonp call. Closed #1118 --- .themes/classic/source/javascripts/github.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.themes/classic/source/javascripts/github.js') 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 = []; -- cgit v1.2.1