From cc5f508a1005fc3c82b77c73e2c82e264a578a97 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Wed, 20 Feb 2013 17:46:15 +0100 Subject: [PATCH] Use HTML5 '&' character to connect query params in GitHub API call. #1031. --- .themes/classic/source/javascripts/github.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.themes/classic/source/javascripts/github.js b/.themes/classic/source/javascripts/github.js index 92d2fda..6cfc0b0 100644 --- a/.themes/classic/source/javascripts/github.js +++ b/.themes/classic/source/javascripts/github.js @@ -13,7 +13,7 @@ var github = (function(){ return { showRepos: function(options){ $.ajax({ - url: "https://api.github.com/users/"+options.user+"/repos?sort=pushed;callback=?" + url: "https://api.github.com/users/"+options.user+"/repos?sort=pushed&callback=?" , type: 'jsonp' , error: function (err) { $(options.target + ' li.loading').addClass('error').text("Error loading feed"); } , success: function(data) {