diff options
-rw-r--r-- | gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 7817bcab..a8e54995 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 @@ -342,7 +342,7 @@ public class JsUtils { * present. */ public static native boolean hasAttribute(Element o, String name) /*-{ - return !!(o && o.getAttribute(name)); + return !!(o && o.getAttribute(name) !== null); }-*/; /** |