Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #111 from swalkinshaw/patch-1

Make Disqus embed.js URL protocol relative
  • Loading branch information...
commit 012c96782290c7f297a1701746d33ad3e86f459e 2 parents be63326 + 7f8aa59
@jipiboily authored
View
2  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>
Please sign in to comment.
Something went wrong with that request. Please try again.