fix(#I13X3Z): Chrome 手机客户端滑块无法验证通过
#comment 移动端 Chrome 滑动轨迹为 decimal 类型数值导致 #Issue link https://gitee.com/LongbowEnterprise/SliderCaptcha/issues/I13X3Z
This commit is contained in:
parent
69db63d8b2
commit
670855af4b
|
@ -252,7 +252,7 @@
|
|||
|
||||
that.sliderContainer.addClass('sliderContainer_active');
|
||||
that.sliderMask.style.width = (moveX + 4) + 'px';
|
||||
trail.push(moveY);
|
||||
trail.push(Math.round(moveY));
|
||||
};
|
||||
|
||||
var handleDragEnd = function (e) {
|
||||
|
|
|
@ -252,7 +252,7 @@
|
|||
|
||||
that.sliderContainer.addClass('sliderContainer_active');
|
||||
that.sliderMask.style.width = (moveX + 4) + 'px';
|
||||
trail.push(moveY);
|
||||
trail.push(Math.round(moveY));
|
||||
};
|
||||
|
||||
var handleDragEnd = function (e) {
|
||||
|
|
Loading…
Reference in New Issue