Some restructuring of documentation

This commit is contained in:
Pieter Vander Vennet 2022-06-19 13:53:24 +02:00
parent 04e3dc5623
commit 806c20ecb4
2 changed files with 30 additions and 28 deletions

View file

@ -26,9 +26,7 @@ export default class Title extends BaseUIElement {
} else if (embedded instanceof FixedUiElement) {
innerText = embedded.content
} else {
if (Utils.runningFromConsole) {
console.log("Not constructing an anchor for title with embedded content of " + embedded)
} else {
if (!Utils.runningFromConsole) {
innerText = embedded.ConstructElement()?.innerText
}
}