提交 c759dcb8 编写于 作者: S shunp

modify not to break mobile support

上级 f0bd42d0
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
sliderMoved = true; sliderMoved = true;
sliderPos = e.pageX; sliderPos = ( e.pageX === undefined ) ? e.touches[ 0 ].pageX : e.pageX;
//prevent the slider from being positioned outside the window bounds //prevent the slider from being positioned outside the window bounds
if ( sliderPos < 0 ) sliderPos = 0; if ( sliderPos < 0 ) sliderPos = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册