mirror of
https://gitlab.com/Deukhoofd/BattleSim.git
synced 2025-09-02 08:57:19 +00:00
5 lines
161 B
CoffeeScript
5 lines
161 B
CoffeeScript
$(document).on 'click', '.spectate', ->
|
|
battleId = $(this).data('battle-id')
|
|
PokeBattle.router.navigate("battles/#{battleId}", trigger: true)
|
|
return false
|