It’s a Safari mobile bug/feature : click events won’t bubble all the way up to body.
Adding onclick=""
is a known workaround, but IMHO it’s easier to attach your listener on a first child of <body>
.
See: http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html