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.
Try this code:
TouchView = Backbone.View.extend({
  events: function() {
    return MOBILE ? 
       {
         "touchstart": 'select'
       } : 
       {
         "mousedown": 'select'
       }
  }
}
See it in action: http://jsfiddle.net/dira/Ke2px/2/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With