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) => {
|
src.addCallbackD((contents) => {
|
||||||
for (let i = 0; i < contents.length; i++) {
|
for (let i = 0; i < contents.length; i++) {
|
||||||
sources[i].setData(contents[i])
|
sources[i]?.setData(contents[i])
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
return src
|
return src
|
||||||
|
|
|
@ -73,9 +73,6 @@ export default abstract class BaseUIElement {
|
||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* The same as 'Render', but creates a HTML element instead of the HTML representation
|
|
||||||
*/
|
|
||||||
public ConstructElement(): HTMLElement {
|
public ConstructElement(): HTMLElement {
|
||||||
if (typeof window === undefined) {
|
if (typeof window === undefined) {
|
||||||
return undefined
|
return undefined
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue