forked from GitHub-Mirrors/foundry-sw5e
General Cleanup
CSS - Removed unnecessary units on 0 values - Replaced invalid css values (such as line-height default) with valid equivalents Templates - Added missing closing tags - Fixed incorrect closing tags - Removed unnecessary closing tags
This commit is contained in:
parent
d0e0dda2b3
commit
92bf020cdf
23 changed files with 272 additions and 279 deletions
|
@ -641,8 +641,7 @@ export default class Actor5e extends Actor {
|
|||
knownTechPowers++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
continue;
|
||||
}
|
||||
}
|
||||
ad.attributes.force.known.value = knownForcePowers;
|
||||
ad.attributes.tech.known.value = knownTechPowers;
|
||||
|
|
|
@ -486,8 +486,8 @@ async function addFavorites(app, html, data) {
|
|||
let v = (comps.vocal) ? "V" : "";
|
||||
let s = (comps.somatic) ? "S" : "";
|
||||
let m = (comps.material) ? "M" : "";
|
||||
let c = (comps.concentration) ? true : false;
|
||||
let r = (comps.ritual) ? true : false;
|
||||
let c = !!(comps.concentration);
|
||||
let r = !!(comps.ritual);
|
||||
item.powerComps = `${v}${s}${m}`;
|
||||
item.powerCon = c;
|
||||
item.powerRit = r;
|
||||
|
@ -643,11 +643,7 @@ async function addSubTabs(app, html, data) {
|
|||
return tab.target == target
|
||||
});
|
||||
data.options.subTabs[subgroup].map(el => {
|
||||
if(el.target == target) {
|
||||
el.active = true;
|
||||
} else {
|
||||
el.active = false;
|
||||
}
|
||||
el.active = el.target == target;
|
||||
return el;
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue