diff --git a/modules/sheets/pokemonCharacterSheet.js b/modules/sheets/pokemonCharacterSheet.js index 5af4827..dfd49a4 100644 --- a/modules/sheets/pokemonCharacterSheet.js +++ b/modules/sheets/pokemonCharacterSheet.js @@ -89,7 +89,7 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi console.log("Rendering with "+this.tab+" open"); tabs.activate(this.tab); - tabs.callback = function(){ + tabs.callback = () => { console.log("Switching to "+tabs.active); this.tab = tabs.active; context.system.tab = tabs.active; diff --git a/system.json b/system.json index 5429559..f27fc01 100644 --- a/system.json +++ b/system.json @@ -1,5 +1,5 @@ { - "version": "0.0.54", + "version": "0.0.55", "id": "pokemon", "title": "Pokémon TTRPG", "description": "A Pokémon TTRPG", diff --git a/system.zip b/system.zip index bc1f9cb..d17143a 100644 Binary files a/system.zip and b/system.zip differ