Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

граничные случаи #1

Open
uncle-ben-s opened this issue Oct 11, 2017 · 1 comment
Open

граничные случаи #1

uncle-ben-s opened this issue Oct 11, 2017 · 1 comment

Comments

@uncle-ben-s
Copy link

Заюзал ваш плагин. Немного правда переделал его, но суть вопроса не меняется.
На следующем примере видно недоработку.
<input type="range" step="2" min="170" max="189" value="170,180"/>
inter_value = this.value * one_step; $one.width(inter_value);
перекрывает второй ползунок.
Решение: inter_value = (this.value - $this.attr('min')) * one_step;
во всех местах где прописывается эта ширина.
Спасибо за плагин.

@lampaa
Copy link
Owner

lampaa commented Oct 11, 2017

@uncle-ben-s доброго дня!
Спасибо за найденную ошибку! Исправлю в скором времени.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants