jquery-navobile icon indicating copy to clipboard operation
jquery-navobile copied to clipboard

Bind to click events by default, bind to touch events only if supported

Open sirajea opened this issue 9 years ago • 3 comments

Because devices can have both a mouse AND a touchscreen. Click wasn't working for these devices. This fixes it because it binds to click events by default and additionally binds to touch events if touch is supported.

sirajea avatar Jan 16 '16 01:01 sirajea

@sirajea thanks for this, I'll check it out later.

SebAshton avatar Jan 16 '16 17:01 SebAshton

Would be great if you could apply any change to both the coffeescript too

SebAshton avatar Jan 16 '16 17:01 SebAshton

@SebAshton You're welcome. Done.

sirajea avatar Jan 16 '16 19:01 sirajea