Skip to content

Commit

Permalink
mobile fix revert
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperknot committed Jan 31, 2024
1 parent 864d0da commit 4e95d75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/assets/support_plans.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
}
Expand Down

0 comments on commit 4e95d75

Please sign in to comment.