Permalink
Browse files

Merge pull request #111 from swalkinshaw/patch-1

Make Disqus embed.js URL protocol relative
  • Loading branch information...
2 parents be63326 + 7f8aa59 commit 012c96782290c7f297a1701746d33ad3e86f459e @jipiboily committed Oct 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/layouts/monologue/application/_disqus_embed.html.erb
@@ -11,7 +11,7 @@
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
- dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>

0 comments on commit 012c967

Please sign in to comment.