setup for cleanup

This commit is contained in:
ash 2022-04-05 14:29:45 +01:00
parent ec976f2342
commit f09ab1f5e1
No known key found for this signature in database
GPG key ID: 9680D0BE1469C427

View file

@ -79,7 +79,7 @@ init();
async function init(){ async function init(){
let resp = await fetch("/atlas.json"); let resp = await fetch("./atlas.json");
atlas = await resp.json(); atlas = await resp.json();
atlas.sort(function (a, b) { atlas.sort(function (a, b) {
if (a.center[1] < b.center[1]) { if (a.center[1] < b.center[1]) {
@ -105,7 +105,7 @@ async function init(){
var desiredZoom; var desiredZoom;
var zoomAnimationFrame; var zoomAnimationFrame;
var mode = "view"; var mode = "overlap";
var args = window.location.search; var args = window.location.search;
if(args){ if(args){