ArcBees / gwtquery

A jQuery clone for GWT, and much more.
MIT License
85 stars 38 forks source link

on function is not triggered when Selector is included #331

Open confile opened 9 years ago

confile commented 9 years ago

It is also strange that the following works:

$(contentList).find(".mytouch")
        .on("tap", new Function() {

            public boolean f(Event ev) {

              GWT.log("div tapped");

              return true;
            }
        });

and the following does NOT work:

$(contentList).on("tap", ".mytouch", new Function() {

            public boolean f(Event ev) {

              GWT.log("div tapped");

              return true;
            }
        });