Browse Source

Use HTML5 '&' character to connect query params in GitHub API call. #1031.

unreleased_contents
Parker Moore 12 years ago
parent
commit
cc5f508a10
  1. 2
      .themes/classic/source/javascripts/github.js

2
.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) {

Loading…
Cancel
Save