Skip to content
Permalink
Browse files

Protocol-relative load of Disqus script. (HTTP and HTTPS)

  • Loading branch information...
Alberto Jerez
Alberto Jerez committed Jun 12, 2015
1 parent c1c655a commit dec804a2782c3459c4b343fee64e158c54339b7e
Showing with 2 additions and 2 deletions.
  1. +2 −2 assets/js/index.js
@@ -124,11 +124,11 @@ jQuery(function($) {
$('#show-disqus').on('click', function() {
$.ajax({
type: "GET",
url: "http://" + disqusShortname + ".disqus.com/embed.js",
url: "//" + disqusShortname + ".disqus.com/embed.js",
dataType: "script",
cache: true
});
$(this).parent().addClass('activated');
});
}
});
});

0 comments on commit dec804a

Please sign in to comment.
You can’t perform that action at this time.