events:
'click' : 'select'
When using this event on Mobile Safari the event gets triggered twice when touched. Is this a known bug or something that I am causing on my own?
I've since changed it to
events:
'touchstart' : 'select'
and it works great but means that it will not work in normal browsers anymore.
Thanks for any info.
Using coffeescript, I'd do the following, I don't ever find a reason to bring in modernizer when every mobile device these days is really a touch device, I mean when was the last time you had to really support something that didn't?
Coffeescript reads better for these type of list comprehensions imho.
Try this code:
See it in action: http://jsfiddle.net/dira/Ke2px/2/