mobile fix revert

This commit is contained in:
Zsolt Ero
2024-01-31 18:32:20 +01:00
parent 864d0da963
commit 4e95d759e4

View File

@@ -45,10 +45,10 @@ pricingSlider.on('update', function (values, _) {
tooltip.classList.remove('last')
if (document.documentElement.clientWidth < 500) {
if (value <= 1) {
if (value === 0) {
tooltip.classList.add('first')
}
if (value >= priceNumbers.length - 2) {
if (value === priceNumbers.length - 1) {
tooltip.classList.add('last')
}
}