Skip to content

Comments

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

Open
sirajea wants to merge 2 commits intomadetech:masterfrom
sirajea:master
Open

Bind to click events by default, bind to touch events only if supported#17
sirajea wants to merge 2 commits intomadetech:masterfrom
sirajea:master

Conversation

@sirajea
Copy link

@sirajea sirajea commented Jan 16, 2016

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.

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.
@SebAshton
Copy link
Contributor

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

@SebAshton
Copy link
Contributor

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

@sirajea
Copy link
Author

sirajea commented Jan 16, 2016

@SebAshton You're welcome. Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants