forked from MapComplete/MapComplete
Chore: small fixes and updates
This commit is contained in:
parent
602c51bcb9
commit
afb94ecefb
2 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue