This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
gwtquery
mirror of
https://github.com/ArcBees/gwtquery.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
4
Wiki
Activity
Browse Source
HasAttribute should only check nullity
tags/gwtquery-project-1.5-beta1
Manolo Carrasco
9 years ago
parent
f3c92755f5
commit
178fffc506
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java
+ 1
- 1
gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java
View File
@@ -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
);
}-*/;
/**
Write
Preview
Loading…
Cancel
Save