Skip to content

Commit

Permalink
Make saved replays default to https (#1344)
Browse files Browse the repository at this point in the history
  • Loading branch information
scheibo authored and Zarel committed Aug 4, 2019
1 parent 1aac108 commit 665e55e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/client.js
Expand Up @@ -2694,7 +2694,7 @@ function toId() {
initialize: function (data) {
var buf = '';
buf = '<p>Your replay has been uploaded! It\'s available at:</p>';
buf += '<p><a href="http://replay.pokemonshowdown.com/' + data.id + '" target="_blank" class="no-panel-intercept">http://replay.pokemonshowdown.com/' + data.id + '</a></p>';
buf += '<p><a href="https://replay.pokemonshowdown.com/' + data.id + '" target="_blank" class="no-panel-intercept">https://replay.pokemonshowdown.com/' + data.id + '</a></p>';
buf += '<p><button class="autofocus" name="close">Close</button></p>';
this.$el.html(buf).css('max-width', 620);
},
Expand Down

0 comments on commit 665e55e

Please sign in to comment.