mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-22 14:32:15 +00:00
website responsive
This commit is contained in:
@@ -44,7 +44,7 @@ pricingSlider.on('update', function (values, _) {
|
|||||||
tooltip.classList.remove('first')
|
tooltip.classList.remove('first')
|
||||||
tooltip.classList.remove('last')
|
tooltip.classList.remove('last')
|
||||||
|
|
||||||
if (screen.width < 500) {
|
if (document.documentElement.clientWidth < 500) {
|
||||||
if (value === 0) {
|
if (value === 0) {
|
||||||
tooltip.classList.add('first')
|
tooltip.classList.add('first')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user