This commit is contained in:
Stefan Zermatten
2018-11-13 09:31:57 +02:00
parent 0e6ca56316
commit 933878e158

View File

@@ -17,6 +17,7 @@ Template.characterSettings.events({
"change #hideSpellcasting": function(event, instance){
var value = instance.find("#hideSpellcasting").checked;
if (this.settings.hideSpellcasting !== value){
Session.set(this._id + ".selectedTab", "0");
Characters.update(
this._id,
{$set: {"settings.hideSpellcasting": value}}