clean up settings; BREAKING: TableOfContents requires Document features.updateFields = true setting

This commit is contained in:
Tom Hunkapiller
2021-05-26 08:36:05 +03:00
parent da61a30eb8
commit 60b7ce4785
20 changed files with 389 additions and 350 deletions

View File

@ -186,7 +186,7 @@ export function measurementOrPercentValue(val: number | string): number | string
if (typeof val === "number") {
return decimalNumber(val);
}
if (val.slice(-1) === '%') {
if (val.slice(-1) === "%") {
return percentageValue(val);
}
return universalMeasureValue(val);