refactoring
This commit is contained in:
@@ -71,7 +71,12 @@ class HistogramView {
|
|||||||
});
|
});
|
||||||
sliderElement.noUiSlider.on(
|
sliderElement.noUiSlider.on(
|
||||||
'update',
|
'update',
|
||||||
([start, endInclusive]) => onUpdate({ start: parseInt(start, 10), endInclusive: parseInt(endInclusive, 10) }));
|
([start, endInclusive]) =>
|
||||||
|
onUpdate(
|
||||||
|
{
|
||||||
|
start: parseInt(start, 10),
|
||||||
|
endInclusive: parseInt(endInclusive, 10)
|
||||||
|
}));
|
||||||
if (height != null) {
|
if (height != null) {
|
||||||
sliderElement.style.height = height;
|
sliderElement.style.height = height;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user