From c2eba791ed0cbc9f40c3e860c313f94038d6f56e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20Carrasco=20Mo=C3=B1ino?= Date: Thu, 7 Feb 2013 16:56:57 +0100 Subject: [PATCH] Change method signature --- .../src/main/java/com/google/gwt/query/client/js/JsUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java index c54ab588..b24fe2eb 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java @@ -257,7 +257,7 @@ public class JsUtils { * implementation returns an empty string instead of null when the attribute is not * present */ - public static native boolean hasAttribute(JavaScriptObject o, String name)/*-{ + public static native boolean hasAttribute(Element o, String name)/*-{ return !!(o && o.getAttribute(name)); }-*/; -- 2.39.5