diff --git a/web/_js/main/draw.js b/web/_js/main/draw.js index 1aef981c..af673ce7 100644 --- a/web/_js/main/draw.js +++ b/web/_js/main/draw.js @@ -111,7 +111,7 @@ function initDraw() { let highlightUncharted = true - renderBackground() + renderBackground(atlas) applyView() container.style.cursor = "crosshair" @@ -772,7 +772,7 @@ function initDraw() { setView(center[0], center[1]) document.addEventListener('timeupdate', () => { - renderBackground() + renderBackground(atlas) updatePeriodGroups() }) diff --git a/web/_js/main/view.js b/web/_js/main/view.js index 7f230d14..00a5b2b1 100644 --- a/web/_js/main/view.js +++ b/web/_js/main/view.js @@ -56,7 +56,7 @@ moreEntriesButton.className = "btn btn-primary d-block mb-2 mx-auto" moreEntriesButton.id = "moreEntriesButton" moreEntriesButton.onclick = function () { buildObjectsList(null, null) - renderBackground() + renderBackground(atlas) render() }