Skip to content

Commit

Permalink
Update protocol
Browse files Browse the repository at this point in the history
Updated the protocol depending on the protocol used of the page
  • Loading branch information
karneaud committed Mar 11, 2013
1 parent ae55f66 commit 2df7a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.yql.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

var doAsynchronously = successCallback != null;
var yqlJson = {
url: "http://query.yahooapis.com/v1/public/yql",
url: window.location.protocol + "//query.yahooapis.com/v1/public/yql",
dataType: "jsonp",
success: successCallback,
async: doAsynchronously,
Expand Down

0 comments on commit 2df7a98

Please sign in to comment.