From 7d44cc2cafc5d43b90a1c7480efc00abc67d617a Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Fri, 1 Jan 2016 16:56:31 -0600 Subject: [PATCH] Fix weird alignment in move tooltips --- js/client-battle-tooltips.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/client-battle-tooltips.js b/js/client-battle-tooltips.js index 21eb945b7..213e9c081 100644 --- a/js/client-battle-tooltips.js +++ b/js/client-battle-tooltips.js @@ -179,7 +179,7 @@ var BattleTooltips = (function () { text += '

' + move.name + '
' + Tools.getTypeIcon(moveType) + ' ' + move.category + '

'; text += basePowerText; - text += '

' + additionalInfo + '

'; + if (additionalInfo) text += '

' + additionalInfo + '

'; text += '

Accuracy: ' + accuracy + '

'; var flags = { "authentic": "Ignores a target's substitute.",