diff --git a/modules/sheets/pokemonCharacterSheet.js b/modules/sheets/pokemonCharacterSheet.js index 5ad0896..e288c68 100644 --- a/modules/sheets/pokemonCharacterSheet.js +++ b/modules/sheets/pokemonCharacterSheet.js @@ -85,11 +85,11 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi const tabs = new foundry.applications.ux.Tabs({navSelector: ".tabs", contentSelector: ".content", initial: "tab1"}); tabs.bind(this.element); - tabs.activate(tab); + tabs.activate(this.tab); tabs.callback = function(){ console.log(tabs.active); - tab = tabs.active; + this.tab = tabs.active; } } diff --git a/system.json b/system.json index 8d16ffa..5878c71 100644 --- a/system.json +++ b/system.json @@ -1,5 +1,5 @@ { - "version": "0.0.49", + "version": "0.0.50", "id": "pokemon", "title": "Pokémon TTRPG", "description": "A Pokémon TTRPG", diff --git a/system.zip b/system.zip index f3b78a1..63cb97c 100644 Binary files a/system.zip and b/system.zip differ