This commit is contained in:
simaQ
2015-07-14 20:49:23 +08:00
parent 8bed86feaf
commit 02b53e8676
3 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -400,12 +400,12 @@ var Slider = React.createClass({
className = prefixClsFn(prefixCls, 'handle', 'handle-active');
}
var handle = <a className={className}
var handle = <div className={className}
ref = "handle"
style = {handleStyle}
href = "#"
onMouseDown = {this.handleMouseDown}
onTouchStart = {this.handleTouchStart}></a>;
onTouchStart = {this.handleTouchStart}></div>;
if (this.props.marks.length > 0) {
return handle;