Skip to content

Commit

Permalink
Merge pull request #2 from kasperg/patch-1
Browse files Browse the repository at this point in the history
Support HTTPS
  • Loading branch information
dansingerman committed Feb 9, 2016
2 parents efa5146 + 48e0812 commit 69f0e36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery.browserLanguage.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
$.browserLanguage = function(callback){
var language;
$.ajax({
url: "http://ajaxhttpheaders.appspot.com",
url: "//ajaxhttpheaders.appspot.com",
dataType: 'jsonp',
success: function(headers) {
language = headers['Accept-Language'].substring(0,2);
Expand Down Expand Up @@ -135,4 +135,4 @@
"zh": "Chinese"
}

})(jQuery);
})(jQuery);

0 comments on commit 69f0e36

Please sign in to comment.