mirror of
https://github.com/wassname/slider.git
synced 2026-09-10 12:38:09 +08:00
update
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user