switch listen to touchend on mobile (#4488)
parent
b49cd752b2
commit
5c391e1091
|
@ -931,7 +931,7 @@ DDH.calculator = DDH.calculator || {};
|
||||||
*/
|
*/
|
||||||
if(DDG.device.isMobile || DDG.device.isMobileDevice) {
|
if(DDG.device.isMobile || DDG.device.isMobileDevice) {
|
||||||
// mobile
|
// mobile
|
||||||
deviceType = 'touchstart';
|
deviceType = 'touchend';
|
||||||
} else {
|
} else {
|
||||||
// everything else
|
// everything else
|
||||||
deviceType = 'click';
|
deviceType = 'click';
|
||||||
|
|
Loading…
Reference in New Issue