From 5f9384a442531b7133cce4edc07edffb0729c3d7 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sat, 22 Dec 2018 10:47:01 +0100 Subject: Converts map-editor, JSON broken, dep. updates... --- src/map-editor/www/index.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/map-editor/www') diff --git a/src/map-editor/www/index.html b/src/map-editor/www/index.html index 3828b22..6c68627 100644 --- a/src/map-editor/www/index.html +++ b/src/map-editor/www/index.html @@ -6,6 +6,7 @@ +
@@ -14,12 +15,16 @@ tacticians_online.session.load(); tacticians_online.app = - Elm.Main.fullscreen + Elm.Main.init ( { - user_id: tacticians_online.session.get_user_id(), - token: tacticians_online.session.get_token(), - url_params: tacticians_online.urlparams.get_parameters() + flags: + { + user_id: tacticians_online.session.get_user_id(), + token: tacticians_online.session.get_token(), + url_params: tacticians_online.urlparams.get_parameters() + }, + node: document.getElementById("elm-element") } ); -- cgit v1.2.3-70-g09d2