Skip to content

Commit

Permalink
Using "//" instead of "http://" will use the appropriate protocol dep…
Browse files Browse the repository at this point in the history
…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
Jeffrey Rosen committed Feb 24, 2012
1 parent 9324477 commit fdd289d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r2/r2/public/static/button/button1.html
Expand Up @@ -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 = {};
Expand Down

0 comments on commit fdd289d

Please sign in to comment.