From f54964401bf8599efd2564c2502d65ff72970bb9 Mon Sep 17 00:00:00 2001 From: L0laapk3 Date: Tue, 18 Jun 2019 02:38:30 +0200 Subject: [PATCH] small fix --- index.html.template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html.template b/index.html.template index 2b7080e..7dd1df8 100644 --- a/index.html.template +++ b/index.html.template @@ -642,7 +642,8 @@ map.zoomControl.setPosition('bottomleft') - for (const surface of layers) + console.log(window.layers = layers) + for (const surface of Object.values(layers)) for (const layer of Object.values(surface)) { layer.tags.sort((a, b) => a.position.y - b.position.y) for (const tag of layer.tags) {