diff options
author | Manolo Carrasco <manolo@apache.org> | 2011-03-29 10:21:15 +0000 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2011-03-29 10:21:15 +0000 |
commit | f6b54b094f2e2298b8c9ecf35f92a6454172d24c (patch) | |
tree | e3c3e8a379b438d62591859287da38fc22b709bc | |
parent | e5530979ce74ac72eeebf6fd7aa12179e7858e53 (diff) | |
download | gwtquery-f6b54b094f2e2298b8c9ecf35f92a6454172d24c.tar.gz gwtquery-f6b54b094f2e2298b8c9ecf35f92a6454172d24c.zip |
Let gquery to use the most adequate selector here
-rw-r--r-- | gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java index 87fa7621..80d1122f 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java @@ -2029,7 +2029,7 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> { if (filter == null || $(e).filter(filter).length() == 1) {
if (clean) {
//clean data linked to the children
- cleanGQData($(e.getElementsByTagName("*")).elements());
+ cleanGQData($("*", e).elements());
//clean data linked to the element itself
cleanGQData(e);
}
|