Fix bugs from Fabi

Co-authored-by: Fabian Wunsch <fabian@uriah.heep.sax.de>
This commit is contained in:
Hans5958 2022-04-15 00:12:28 +07:00
parent 347d2f9dff
commit 34fcec8aa3
2 changed files with 2 additions and 4 deletions

View file

@ -106,8 +106,8 @@ window.period = period
timelineSlider.max = timeConfig.length - 1;
// document.querySelector('#period-group .period-start').max = defaultPeriod
// document.querySelector('#period-group .period-end').max = defaultPeriod
timelineSlider.value = timelineSlider.max;
updateTime(timelineSlider.value)
timelineSlider.value = period;
updateTime(period)
timelineSlider.addEventListener("input", (event) => {
updateTime(parseInt(event.target.value))

View file

@ -736,8 +736,6 @@ function initView(){
document.addEventListener('timeupdate', (event) => {
sortedAtlas = atlas.concat()
resetEntriesList(null, null)
renderBackground(tempAtlas);
render();
})
// parse linked atlas entry id from link hash