Move AllTagsPanel to separate class; various small fixes

This commit is contained in:
Pieter Vander Vennet 2022-04-28 00:32:15 +02:00
parent 27f12b1f9d
commit 9f5c506e17
12 changed files with 85 additions and 411 deletions

View file

@ -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;
}