javajquerygwtgwtquerygquery

GwtQuery for a "click" event it also does trigger on hover event (sometimes)


GwtQuery for a "click" event it also does trigger on hover (sometimes), why is that?

   $("html").bind("click", new com.google.gwt.query.client.Function() {
        @Override
        public boolean f(com.google.gwt.user.client.Event e) {
            $(".hopscotch-bubble").fadeOut(new com.google.gwt.query.client.Function() {
                @Override
                public void f() {
                    JSNIHelper.infoNotify("INFO", "Fade out method invoked.");
                }
            });
            return true;
        }
    });

Solution

  • You have asked this question two times in same context :)

    Please check my answer. It will definitely solve your problem.