Fix weird alignment in move tooltips

This commit is contained in:
Guangcong Luo
2016-01-01 16:56:31 -06:00
parent 33959c2cf9
commit 7d44cc2caf

View File

@@ -179,7 +179,7 @@ var BattleTooltips = (function () {
text += '<h2>' + move.name + '<br />' + Tools.getTypeIcon(moveType) + ' <img src="' + Tools.resourcePrefix;
text += 'sprites/categories/' + move.category + '.png" alt="' + move.category + '" /></h2>';
text += basePowerText;
text += '<p>' + additionalInfo + '</p>';
if (additionalInfo) text += '<p>' + additionalInfo + '</p>';
text += '<p>Accuracy: ' + accuracy + '</p>';
var flags = {
"authentic": "Ignores a target's substitute.",