mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
mobile fix revert
This commit is contained in:
@@ -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')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user