aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2011-03-29 10:21:15 +0000
committerManolo Carrasco <manolo@apache.org>2011-03-29 10:21:15 +0000
commitf6b54b094f2e2298b8c9ecf35f92a6454172d24c (patch)
treee3c3e8a379b438d62591859287da38fc22b709bc
parente5530979ce74ac72eeebf6fd7aa12179e7858e53 (diff)
downloadgwtquery-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.java2
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);
}