瀏覽代碼

Clear groups when resetting the character sheet

tags/v1.1.2
Fen Dweller 5 年之前
父節點
當前提交
533099a7de
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: E80B35A6F11C3656
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      game.js

+ 1
- 1
game.js 查看文件

@@ -4826,6 +4826,7 @@ function grow_stench(factor, simpleCalc=true){

function resetSettings() {
document.forms.namedItem("custom-species-form").reset();
reset_visible_groups();
updateAllPreviews();
}

@@ -5596,7 +5597,6 @@ function update_visible_groups() {

groups.forEach(group => {
const state = document.querySelector("#group-toggle-" + group).checked;
console.log(state);
document.querySelectorAll(".sheet-group-" + group).forEach(category => {
if (state)
category.style.display = "";


Loading…
取消
儲存