mirror of
https://github.com/placeAtlas/atlas.git
synced 2025-01-16 13:37:09 +01:00
Actually use proper button disable
This commit is contained in:
parent
ca7656d7d5
commit
12a98f7154
1 changed files with 1 additions and 1 deletions
|
@ -792,7 +792,7 @@ function initPeriodGroups() {
|
|||
endPeriodEl.value = end
|
||||
if (startPeriodEl.max == 0) periodGroupEl.classList.add('no-time-slider')
|
||||
else periodGroupEl.classList.remove('no-time-slider')
|
||||
if (pathWithPeriods.length === 1) periodDeleteEl.disabled = ""
|
||||
if (pathWithPeriods.length === 1) periodDeleteEl.disabled = true;
|
||||
|
||||
startPeriodEl.addEventListener('input', event => {
|
||||
timelineSlider.value = parseInt(event.target.value)
|
||||
|
|
Loading…
Reference in a new issue