Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
L0laapk3 committed Jun 18, 2019
1 parent d3e9fb0 commit f549644
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html.template
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f549644

Please sign in to comment.