1
0
mirror of https://gitlab.com/Deukhoofd/BattleSim.git synced 2025-10-27 18:00:03 +00:00

Fixed bug with team preview timer

This commit is contained in:
Deukhoofd
2016-02-10 04:07:03 +01:00
parent ab072543d2
commit cf4ad44d43
3 changed files with 10 additions and 12 deletions

View File

@@ -1,14 +1,14 @@
mixin displayOtherTeam(team, text)
- var teamvisible = team.collection.parents[0].get('visibleteam')
- var isdef = typeof teamvisible
if isdef != 'undefined' && teamvisible
section.battle_team_preview
p= text
ul.row-fluid.unstyled
- team.get('pokemon').each(function(pokemon) {
li.px_40
+displayPokemon(pokemon)
- })
section.battle_team_preview
p= text
ul.row-fluid.unstyled
if isdef != 'undefined' && teamvisible
- team.get('pokemon').each(function(pokemon) {
li.px_40
+displayPokemon(pokemon)
- })
mixin displayYourTeam(team, text)
section.battle_team_preview