diff --git a/index.ts b/index.ts index e2d38fe..69d1a1a 100644 --- a/index.ts +++ b/index.ts @@ -169,8 +169,9 @@ InitUiElements.OnlyIf(State.state.featureSwitchWelcomeMessage, () => { if ((window != window.top && !State.state.featureSwitchWelcomeMessage.data) || State.state.featureSwitchIframe.data) { const currentLocation = State.state.locationControl; const url = `${window.location.origin}${window.location.pathname}?z=${currentLocation.data.zoom}&lat=${currentLocation.data.lat}&lon=${currentLocation.data.lon}`; - - new FixedUiElement(``).AttachTo("messagesbox") + const content = ``; + new FixedUiElement(content).AttachTo("messagesbox"); + new FixedUiElement(content).AttachTo("help-button-mobile") }