making slider vertical

This commit is contained in:
frankknoll
2022-03-30 20:24:18 +02:00
parent 80f430ef71
commit 02d6bea3f4
3 changed files with 15 additions and 6 deletions

View File

@@ -72,7 +72,7 @@ function createSlider(sliderElement, range, onUpdate) {
connect: true,
range: range,
step: 1,
orientation: 'horizontal'
orientation: 'vertical'
});
sliderElement.noUiSlider.on('update', onUpdate);
}