max-degterev/Zepto-onPress

onpress() not working with $("a[data-something]")

Closed this issue · 1 comments

I get 'undefined' is not a function on the iPhone. It works good on Firefox, though.

It works ok with $("a").onpress().

How to Reproduce

Try $("a[data-something]").onpress on a page that doesn't have such element.

Fixed, thanks!