forked from MapComplete/MapComplete
Move AllTagsPanel to separate class; various small fixes
This commit is contained in:
parent
27f12b1f9d
commit
9f5c506e17
12 changed files with 85 additions and 411 deletions
|
@ -94,7 +94,7 @@ export default abstract class BaseUIElement {
|
|||
* The same as 'Render', but creates a HTML element instead of the HTML representation
|
||||
*/
|
||||
public ConstructElement(): HTMLElement {
|
||||
if (Utils.runningFromConsole) {
|
||||
if (typeof window === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue