Fixed issue where popover wasn't appearing when first pokemon didn't have a mega stone

This commit is contained in:
Deukhoofd committed 2016-05-22 17:34:31 +02:00
1 parent 2e1bb22aab
commit b7230033bb
4 files changed
+10

No files matched your search

@@ -166,6 +166,7 @@ class @BattleView extends Backbone.View
this
movePopover: ($this, moveName, move) =>
console.log(moveName)
{type, damage} = move
damageFriendly = move.damage[0].toUpperCase() + move.damage.substr(1)
targetFriendly = move.target[0].toUpperCase() + move.target.substr(1)