Skip to content

Commit

Permalink
load jquery with whatever protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
jrallison committed Feb 27, 2012
1 parent ebb3836 commit fb3d055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draglet.js
Expand Up @@ -67,7 +67,7 @@
if (!($ = window.jQuery) || req_version > $.fn.jquery || callback($)) {
script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'http://ajax.googleapis.com/ajax/libs/jquery/' + req_version + '/jquery.min.js';
script.src = '//ajax.googleapis.com/ajax/libs/jquery/' + req_version + '/jquery.min.js';
script.onload = script.onreadystatechange = function() {
if(!done && (!(readystate = this.readyState) || readystate == 'loaded' || readystate == 'complete')) {
$ = window.jQuery;
Expand Down

0 comments on commit fb3d055

Please sign in to comment.