bug fixes and css variables

This commit is contained in:
NilsUeter
2023-04-10 22:12:19 +02:00
parent 4007862149
commit 76152e603d
4 changed files with 289 additions and 65 deletions
-3
View File
@@ -1,10 +1,8 @@
export class BaseNotes {
_name = "";
_customName = "";
_customNotes = "";
name() {
if (this._customName) return this._customName;
return this._name;
}
@@ -604,7 +602,6 @@ function ExpandBaseNotes(root, obj) {
element = root.parentElement.parentElement;
}
obj._customName = element.getAttributeNode("customName")?.nodeValue;
let child = element.firstElementChild;
if (child && child.tagName === "customNotes") {
obj._customNotes = child.textContent;