@r365/react-calendar-timeline
Advanced tools
Comparing version 0.25.0-alpha.19 to 0.25.0-alpha.20
@@ -342,3 +342,5 @@ 'use strict'; | ||
}).on('tap', function (e) { | ||
_this2.actualClick(e, e.pointerType === 'mouse' ? 'click' : 'touch'); | ||
if (e.pointerType !== 'mouse') { | ||
_this2.actualClick(e, 'touch'); | ||
} | ||
}); | ||
@@ -345,0 +347,0 @@ |
{ | ||
"name": "@r365/react-calendar-timeline", | ||
"version": "0.25.0-alpha.19", | ||
"version": "0.25.0-alpha.20", | ||
"description": "react calendar timeline", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -386,3 +386,5 @@ import { Component } from 'react' | ||
.on('tap', e => { | ||
this.actualClick(e, e.pointerType === 'mouse' ? 'click' : 'touch') | ||
if(e.pointerType !== 'mouse'){ | ||
this.actualClick(e, 'touch') | ||
} | ||
}) | ||
@@ -389,0 +391,0 @@ |
478634
10047