diff --git a/js/client-teambuilder.js b/js/client-teambuilder.js index 9b2d970ea..b3d618ec3 100644 --- a/js/client-teambuilder.js +++ b/js/client-teambuilder.js @@ -509,7 +509,7 @@ } } if (curSection) buf += ''; - buf += ''; + buf += ''; } if (!this.curSetList.length) { buf += '
  • you have no pokemon lol
  • '; @@ -657,6 +657,14 @@ this.saveFlag = true; Storage.saveTeams(); }, + validate: function () { + if (!this.curTeam.format) { + app.addPopupMessage('You need to pick a format to validate your team.'); + return; + } + app.sendTeam(this.curTeam); + app.send('/vtm ' + this.curTeam.format); + }, teamNameChange: function (e) { this.curTeam.name = ($.trim(e.currentTarget.value) || 'Untitled ' + (this.curTeamLoc + 1)); e.currentTarget.value = this.curTeam.name; diff --git a/style/client.css b/style/client.css index 1f87071d3..9f8de94da 100644 --- a/style/client.css +++ b/style/client.css @@ -2018,7 +2018,7 @@ a.ilink:hover { } .teamchart li.format-select select, .teamchart li.format-select option { - font: 12pt Verdana, sans-serif; + margin-right: 5px; } .majorbutton {