Permalink
Browse files

Using "//" instead of "http://" will use the appropriate protocol dep…

…ending on how the page was loaded. This would let people embed the Reddit share button via https (on pay.reddit.com, but eventually the official domain) securely.
  • Loading branch information...
1 parent 9324477 commit fdd289d6604aa863023b57793e1be8acbbc5dc3b @parsap committed Feb 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 r2/r2/public/static/button/button1.html
@@ -5,7 +5,7 @@
<meta name="keywords" content=" reddit, reddit.com, vote, comment, submit " />
<meta name="title" content=" reddit buttons " />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
<script src="/static/button.js" type="text/javascript"></script>
<script type="text/javascript">
var reddit = {};

0 comments on commit fdd289d

Please sign in to comment.