diff options
author | Manolo Carrasco <manolo@apache.org> | 2012-10-17 08:35:08 +0200 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2012-10-17 08:35:08 +0200 |
commit | 3f275820136d146344d0be95c7f37a35a563d5ff (patch) | |
tree | 953e2fdb780674921b8d3a6dd973d0b2a9ffa77a | |
parent | eb0ef954258a36db8fa2fc72c09ac63232e2202a (diff) | |
download | gwtquery-3f275820136d146344d0be95c7f37a35a563d5ff.tar.gz gwtquery-3f275820136d146344d0be95c7f37a35a563d5ff.zip |
remove was failing in mobile devices
-rw-r--r-- | gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java | 3 |
1 files changed, 2 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 3b5a539d..ce90db38 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 @@ -414,7 +414,7 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> { // return all nodes added to the wrapper
$(n.getChildNodes())
// detach nodes from their temporary parent
- .remove();
+ .remove(null, false);
}
/**
@@ -3476,6 +3476,7 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> { if (filter == null || $(e).filter(filter).length() == 1) {
if (clean) {
// clean data linked to the children
+ // TODO: "*" fails in queryselectorall (webkit mobile)
cleanGQData($("*", e).elements());
// clean data linked to the element itself
cleanGQData(e);
|