fix: simplify talent rank display in character sheet
This commit is contained in:
parent
d99b1006ba
commit
1e7492073e
9 changed files with 3 additions and 73 deletions
|
@ -15,7 +15,7 @@ export function disableOverriddenFields(
|
|||
for (const key of Object.keys(foundry.utils.flattenObject(overrides))) {
|
||||
const elements = form?.querySelectorAll(selector(key));
|
||||
elements?.forEach((element) => {
|
||||
if (inputs.includes(element.tagName)) {
|
||||
if (inputs.includes(element.tagName) && !element.hasAttribute("disabled")) {
|
||||
element.setAttribute("disabled", "");
|
||||
const title = element.getAttribute("title");
|
||||
const newTitle = title === null ? titleAddition : `${title} ${titleAddition}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue