New mapcomplete version

This commit is contained in:
Pieter Vander Vennet 2020-09-05 01:40:43 +02:00
parent 9e4035befc
commit 80f0dbe6e3
171 changed files with 1103 additions and 129 deletions

View file

@ -36,7 +36,7 @@ export class FullScreenMessageBox extends UIElement {
window.onhashchange = function () {
if (location.hash === "") {
// No more element: back to the map!
self._uielement.setData(undefined);
self._uielement?.setData(undefined);
onClear();
}
}
@ -58,7 +58,7 @@ export class FullScreenMessageBox extends UIElement {
if (this._uielement === undefined) {
return "";
}
return new Combine([this._uielement, this.returnToTheMap]).SetStyle("").Render();
return new Combine([this._uielement, this.returnToTheMap]).Render();
}