mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-12-27 00:04:09 +01:00
Fix bugs from Fabi
Co-authored-by: Fabian Wunsch <fabian@uriah.heep.sax.de>
This commit is contained in:
parent
347d2f9dff
commit
34fcec8aa3
2 changed files with 2 additions and 4 deletions
|
@ -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))
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue