Remove another occurrence of data-* attributes

pull/2829/head
Luke Morris 2018-02-26 19:28:02 -08:00
parent 9159b1ebf0
commit 8283859e99
1 changed files with 1 additions and 7 deletions

View File

@ -90,7 +90,6 @@ class AnnotationSpan extends React.Component {
renderLeftMarker(startTime, dygraph) {
const isEditing = this.props.mode === EDITING
const humanTime = `${new Date(+startTime)}`
const {isDragging, isMouseOver} = this.state
const {annotation} = this.props
@ -111,12 +110,7 @@ class AnnotationSpan extends React.Component {
const left = dygraph.toDomXCoord(startTime) + 16
return (
<div
className={markerClass}
style={{left: `${left}px`}}
data-time-ms={startTime}
data-time-local={humanTime}
>
<div className={markerClass} style={{left: `${left}px`}}>
{showTooltip &&
<AnnotationTooltip
isEditing={isEditing}