Browse Source

Fix tests

tags/gwtquery-project-1.5-beta1
Maxime Mériouma-Caron 8 years ago
parent
commit
797ce9bd21

+ 1
- 1
gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java View File

@@ -235,7 +235,7 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> {
return new GQuery(((Function) o).getElement());
}
if (JsUtils.isElement(o)) {
return $(JsUtils.<Element> cast(o));
return new GQuery(JsUtils.<Element> cast(o));
}
if (o instanceof JsonBuilder) {
return new GQuery(((JsonBuilder) o).<Element>getDataImpl());

Loading…
Cancel
Save