From 22729c7cdffa1cf88a2af07caee24a892eaae088 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Mon, 15 Jul 2019 10:57:46 -0400 Subject: [PATCH] Fix bug in rating tooltip --- src/battle-animations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle-animations.ts b/src/battle-animations.ts index 4221bee60..02e21a56e 100644 --- a/src/battle-animations.ts +++ b/src/battle-animations.ts @@ -632,7 +632,7 @@ class BattleScene { pokemonhtml = '
' + pokemonhtml + '
'; const $sidebar = (side.n ? this.$rightbar : this.$leftbar); if (side.name) { - const ratinghtml = side.rating ? ` title="Rating: ${BattleLog.escapeHTML(side.rating)}` : ``; + const ratinghtml = side.rating ? ` title="Rating: ${BattleLog.escapeHTML(side.rating)}"` : ``; $sidebar.html(`
${BattleLog.escapeHTML(side.name)}
${pokemonhtml}
`); $sidebar.find('.trainer').css('opacity', 1); } else {