Fix close button on replay uploaded popup (#937)

This commit is contained in:
panpawn
2017-06-09 16:32:37 -04:00
committed by Guangcong Luo
parent 9d0261bec1
commit 56dd183ca1

View File

@@ -2530,7 +2530,7 @@
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">http://replay.pokemonshowdown.com/' + data.id + '</a></p>';
buf += '<p><button type="submit" class="autofocus">Close</button></p>';
buf += '<p><button class="autofocus" name="close">Close</button></p>';
this.$el.html(buf).css('max-width', 620);
},
clickClose: function () {