diff --git a/src/time-picker/clock-minutes.jsx b/src/time-picker/clock-minutes.jsx index b7cf51e2922be7..ddb16e32b35da2 100644 --- a/src/time-picker/clock-minutes.jsx +++ b/src/time-picker/clock-minutes.jsx @@ -66,21 +66,16 @@ var ClockMinutes = React.createClass({ this.setClock(e, false); }, setClock: function(e, finish){ - - e.preventDefault(); - if(this.isMousePressed(e) != 1 ) return; - var ne = e.nativeEvent; var pos = { x: ne.offsetX === undefined ? ne.layerX : ne.offsetX, y: ne.offsetY === undefined ? ne.layerY : ne.offsetY }; - + var minutes = this.getMinutes(pos.x, pos.y) - + this.props.onChange(minutes, finish); - }, getMinutes: function(x, y){