Chore: small fixes and updates

This commit is contained in:
Pieter Vander Vennet 2025-07-28 01:00:25 +02:00
parent 602c51bcb9
commit afb94ecefb
2 changed files with 1 additions and 4 deletions

View file

@ -121,7 +121,7 @@ export class Stores {
}
src.addCallbackD((contents) => {
for (let i = 0; i < contents.length; i++) {
sources[i].setData(contents[i])
sources[i]?.setData(contents[i])
}
})
return src

View file

@ -73,9 +73,6 @@ export default abstract class BaseUIElement {
return this
}
/**
* The same as 'Render', but creates a HTML element instead of the HTML representation
*/
public ConstructElement(): HTMLElement {
if (typeof window === undefined) {
return undefined